<template>
  <div class="travel-container">
    <van-tabs v-model="active" color="#1b89fa">
      <van-tab title="出行防疫政策查询">
        <div class="tab-content" style="display: block">
          <div class="city-select">
            <div class="city-input" id="fromCity" @click="showFromCityList">
              <div
                :class="
                  fromCity === '出发地'
                    ? 'fromVal city-color'
                    : 'city-select-color'
                "
              >
                {{ fromCity }}
              </div>
              <span></span>
            </div>
            <div class="changeCity"></div>
            <div class="city-input" id="toCity" @click="showToCityList()">
              <div
                :class="
                  toCity === '目的地' ? 'toVal city-color' : 'city-select-color'
                "
              >
                {{ toCity }}
              </div>
              <span></span>
            </div>
          </div>
          <div class="content-main" v-if="fromCityId">
            <div class="outin-wrap" id="outFrom">
              <div class="city-name">
                <div class="city-left">
                  <b>{{ fromCity }}</b>
                  <img
                    :src="
                      require('../../assets/travelimages/risk-level-' +
                        fromLevel +
                        '.png')
                    "
                    v-if="fromLevel"
                  />
                </div>
                <span class="health-code from-health-code" @click="fromCodeFn"
                  >出发地健康码</span
                >
              </div>
              <h4>外出政策</h4>
              <div class="zhengce">{{ resFromPolicy.fromInfo }}</div>
            </div>
            <div class="outin-wrap" id="inFrom">
              <h4>进入政策</h4>
              <div class="zhengce">
                {{ resFromPolicy.toInfo }}
              </div>
            </div>
            <div class="outin-wrap" id="inTo"></div>
            <div class="outin-wrap" id="outTo"></div>
          </div>
          <div class="desc-footer">
            以上政策整理自当地政府等公开发布的信息，如有更新或错漏，请以最新政策为准，建议在出行前咨询当地防疫部门、机场、火车站等
          </div>
          <div class="city-code" v-if="fromCityId || toCityId">
            <p>请准备好进出凭证</p>
            <div id="fromCode">
              <div class="code-wrap" v-if="fromCityId" @click="fromCodeFn">
                <div>{{ fromCity }}</div>
                <span>{{ healthCode.fromCode }}</span>
              </div>
            </div>
            <div id="toCode">
              <div class="code-wrap" v-if="toCityId" @click="toCodeFn">
                <div>{{ toCity }}</div>
                <span>{{ healthCode.toCode }}</span>
              </div>
            </div>
          </div>
          <van-dialog v-model="showFromCodeDialog" :title="fromCodeDes">
            <!-- <div class="dialog-title">{{ codeDes }}</div> -->
            <div class="code-img">
              <img :src="fromCodeImg" />
            </div>
          </van-dialog>
          <van-dialog v-model="showToCodeDialog" :title="toCodeDes">
            <!-- <div class="dialog-title">{{ codeDes }}</div> -->
            <div class="code-img">
              <img :src="toCodeImg" />
            </div>
          </van-dialog>
        </div>
      </van-tab>
      <van-tab title="核算检测机构查询">
        <div class="tab-content">
          <div id="city-search">
            <div class="city-title" @click="showOrganization()">
              {{ orgCity }}
            </div>
            <input
              class="search"
              type="search"
              placeholder="输入地址或医院名称筛选"
            />
          </div>
          <div id="institution">
            <div
              class="list-item"
              v-for="(item, index) in orgCityList"
              :key="index"
            >
              <dl>
                <dt class="dt-name">{{ item.name }}</dt>
                <dd>所在区县：{{ item.province }} {{ item.city }}</dd>
                <dd>
                  联系电话：<a href="tel:${resultInfo2[item].phone}">{{
                    item.phone
                  }}</a>
                </dd>
                <dd>
                  <em>详细地址：</em>
                  <span class="address">{{ item.address }} </span>
                </dd>
              </dl>
            </div>
          </div>
        </div>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script>
import { cityData } from '../../assets/data/cityData'
export default {
  data() {
    return {
      active: 0,
      // cityList: cityListData,
      fromCity: '出发地',
      toCity: '目的地',
      fromCityId: 0,
      toCityId: 0,
      resFromPolicy: {
        fromInfo: '',
        toInfo: ''
      },
      resToPolicy: {
        fromInfo: '',
        toInfo: ''
      },
      healthCode: {
        toCode: '',
        fromCode: ''
      },
      fromLevel: '',
      toLevel: '',
      orgCity: '',
      orgId: 0,
      orgCityList: [],
      showFromCodeDialog: false,
      fromCodeDes: '',
      fromCodeImg: '',
      showToCodeDialog: false,
      toCodeDes: '',
      toCodeImg: ''
    }
  },
  methods: {
    showFromCityList() {
      this.$weui.picker(
        [
          {
            value: '1',
            label: '\u5b89\u5fbd',
            children: [
              {
                value: '10001',
                label: '\u5408\u80a5'
              },
              {
                value: '10002',
                label: '\u829c\u6e56'
              },
              {
                value: '10003',
                label: '\u868c\u57e0'
              },
              {
                value: '10004',
                label: '\u6dee\u5357'
              },
              {
                value: '10005',
                label: '\u9a6c\u978d\u5c71'
              },
              {
                value: '10006',
                label: '\u6dee\u5317'
              },
              {
                value: '10007',
                label: '\u94dc\u9675'
              },
              {
                value: '10008',
                label: '\u5b89\u5e86'
              },
              {
                value: '10009',
                label: '\u9ec4\u5c71'
              },
              {
                value: '10010',
                label: '\u6ec1\u5dde'
              },
              {
                value: '10011',
                label: '\u961c\u9633'
              },
              {
                value: '10012',
                label: '\u5bbf\u5dde'
              },
              {
                value: '10013',
                label: '\u516d\u5b89'
              },
              {
                value: '10014',
                label: '\u4eb3\u5dde'
              },
              {
                value: '10015',
                label: '\u6c60\u5dde'
              },
              {
                value: '10016',
                label: '\u5ba3\u57ce'
              }
            ]
          },
          {
            value: '2',
            label: '\u5317\u4eac',
            children: [
              {
                value: '10017',
                label: '\u5317\u4eac'
              }
            ]
          },
          {
            value: '3',
            label: '\u91cd\u5e86',
            children: [
              {
                value: '10018',
                label: '\u91cd\u5e86'
              }
            ]
          },
          {
            value: '4',
            label: '\u798f\u5efa',
            children: [
              {
                value: '10019',
                label: '\u798f\u5dde'
              },
              {
                value: '10020',
                label: '\u53a6\u95e8'
              },
              {
                value: '10021',
                label: '\u8386\u7530'
              },
              {
                value: '10022',
                label: '\u4e09\u660e'
              },
              {
                value: '10023',
                label: '\u6cc9\u5dde'
              },
              {
                value: '10024',
                label: '\u6f33\u5dde'
              },
              {
                value: '10025',
                label: '\u5357\u5e73'
              },
              {
                value: '10026',
                label: '\u9f99\u5ca9'
              },
              {
                value: '10027',
                label: '\u5b81\u5fb7'
              }
            ]
          },
          {
            value: '5',
            label: '\u5e7f\u4e1c',
            children: [
              {
                value: '10028',
                label: '\u5e7f\u5dde'
              },
              {
                value: '10029',
                label: '\u97f6\u5173'
              },
              {
                value: '10030',
                label: '\u6df1\u5733'
              },
              {
                value: '10031',
                label: '\u73e0\u6d77'
              },
              {
                value: '10032',
                label: '\u6c55\u5934'
              },
              {
                value: '10033',
                label: '\u4f5b\u5c71'
              },
              {
                value: '10034',
                label: '\u6c5f\u95e8'
              },
              {
                value: '10035',
                label: '\u6e5b\u6c5f'
              },
              {
                value: '10036',
                label: '\u8302\u540d'
              },
              {
                value: '10037',
                label: '\u8087\u5e86'
              },
              {
                value: '10038',
                label: '\u60e0\u5dde'
              },
              {
                value: '10039',
                label: '\u6885\u5dde'
              },
              {
                value: '10040',
                label: '\u6c55\u5c3e'
              },
              {
                value: '10041',
                label: '\u6cb3\u6e90'
              },
              {
                value: '10042',
                label: '\u9633\u6c5f'
              },
              {
                value: '10043',
                label: '\u6e05\u8fdc'
              },
              {
                value: '10044',
                label: '\u4e1c\u839e'
              },
              {
                value: '10045',
                label: '\u4e2d\u5c71'
              },
              {
                value: '10046',
                label: '\u6f6e\u5dde'
              },
              {
                value: '10047',
                label: '\u63ed\u9633'
              },
              {
                value: '10048',
                label: '\u4e91\u6d6e'
              }
            ]
          },
          {
            value: '6',
            label: '\u7518\u8083',
            children: [
              {
                value: '10049',
                label: '\u5170\u5dde'
              },
              {
                value: '10050',
                label: '\u5609\u5cea\u5173'
              },
              {
                value: '10051',
                label: '\u91d1\u660c'
              },
              {
                value: '10052',
                label: '\u767d\u94f6'
              },
              {
                value: '10053',
                label: '\u5929\u6c34'
              },
              {
                value: '10054',
                label: '\u6b66\u5a01'
              },
              {
                value: '10055',
                label: '\u5f20\u6396'
              },
              {
                value: '10056',
                label: '\u5e73\u51c9'
              },
              {
                value: '10057',
                label: '\u9152\u6cc9'
              },
              {
                value: '10058',
                label: '\u5e86\u9633'
              },
              {
                value: '10059',
                label: '\u5b9a\u897f'
              },
              {
                value: '10060',
                label: '\u9647\u5357'
              },
              {
                value: '10061',
                label: '\u4e34\u590f'
              },
              {
                value: '10062',
                label: '\u7518\u5357'
              }
            ]
          },
          {
            value: '7',
            label: '\u5e7f\u897f',
            children: [
              {
                value: '10063',
                label: '\u5357\u5b81'
              },
              {
                value: '10064',
                label: '\u67f3\u5dde'
              },
              {
                value: '10065',
                label: '\u6842\u6797'
              },
              {
                value: '10066',
                label: '\u68a7\u5dde'
              },
              {
                value: '10067',
                label: '\u5317\u6d77'
              },
              {
                value: '10068',
                label: '\u9632\u57ce\u6e2f'
              },
              {
                value: '10069',
                label: '\u94a6\u5dde'
              },
              {
                value: '10070',
                label: '\u8d35\u6e2f'
              },
              {
                value: '10071',
                label: '\u7389\u6797'
              },
              {
                value: '10072',
                label: '\u767e\u8272'
              },
              {
                value: '10073',
                label: '\u8d3a\u5dde'
              },
              {
                value: '10074',
                label: '\u6cb3\u6c60'
              },
              {
                value: '10075',
                label: '\u6765\u5bbe'
              },
              {
                value: '10076',
                label: '\u5d07\u5de6'
              }
            ]
          },
          {
            value: '8',
            label: '\u8d35\u5dde',
            children: [
              {
                value: '10077',
                label: '\u8d35\u9633'
              },
              {
                value: '10078',
                label: '\u516d\u76d8\u6c34'
              },
              {
                value: '10079',
                label: '\u9075\u4e49'
              },
              {
                value: '10080',
                label: '\u5b89\u987a'
              },
              {
                value: '10081',
                label: '\u6bd5\u8282'
              },
              {
                value: '10082',
                label: '\u94dc\u4ec1'
              },
              {
                value: '10083',
                label: '\u9ed4\u897f\u5357'
              },
              {
                value: '10084',
                label: '\u9ed4\u4e1c\u5357'
              },
              {
                value: '10085',
                label: '\u9ed4\u5357'
              }
            ]
          },
          {
            value: '9',
            label: '\u6cb3\u5317',
            children: [
              {
                value: '10086',
                label: '\u77f3\u5bb6\u5e84'
              },
              {
                value: '10087',
                label: '\u5510\u5c71'
              },
              {
                value: '10088',
                label: '\u79e6\u7687\u5c9b'
              },
              {
                value: '10089',
                label: '\u90af\u90f8'
              },
              {
                value: '10090',
                label: '\u90a2\u53f0'
              },
              {
                value: '10091',
                label: '\u4fdd\u5b9a'
              },
              {
                value: '10092',
                label: '\u5f20\u5bb6\u53e3'
              },
              {
                value: '10093',
                label: '\u627f\u5fb7'
              },
              {
                value: '10094',
                label: '\u6ca7\u5dde'
              },
              {
                value: '10095',
                label: '\u5eca\u574a'
              },
              {
                value: '10096',
                label: '\u8861\u6c34'
              }
            ]
          },
          {
            value: '10',
            label: '\u6e56\u5317',
            children: [
              {
                value: '10097',
                label: '\u6b66\u6c49'
              },
              {
                value: '10098',
                label: '\u9ec4\u77f3'
              },
              {
                value: '10099',
                label: '\u5341\u5830'
              },
              {
                value: '10100',
                label: '\u5b9c\u660c'
              },
              {
                value: '10101',
                label: '\u8944\u9633'
              },
              {
                value: '10102',
                label: '\u9102\u5dde'
              },
              {
                value: '10103',
                label: '\u8346\u95e8'
              },
              {
                value: '10104',
                label: '\u5b5d\u611f'
              },
              {
                value: '10105',
                label: '\u8346\u5dde'
              },
              {
                value: '10106',
                label: '\u9ec4\u5188'
              },
              {
                value: '10107',
                label: '\u54b8\u5b81'
              },
              {
                value: '10108',
                label: '\u968f\u5dde'
              },
              {
                value: '10109',
                label: '\u6069\u65bd'
              },
              {
                value: '10110',
                label: '\u4ed9\u6843'
              },
              {
                value: '10111',
                label: '\u6f5c\u6c5f'
              },
              {
                value: '10112',
                label: '\u5929\u95e8'
              },
              {
                value: '10113',
                label: '\u795e\u519c\u67b6'
              }
            ]
          },
          {
            value: '11',
            label: '\u9ed1\u9f99\u6c5f',
            children: [
              {
                value: '10114',
                label: '\u54c8\u5c14\u6ee8'
              },
              {
                value: '10115',
                label: '\u9f50\u9f50\u54c8\u5c14'
              },
              {
                value: '10116',
                label: '\u9e21\u897f'
              },
              {
                value: '10117',
                label: '\u9e64\u5c97'
              },
              {
                value: '10118',
                label: '\u53cc\u9e2d\u5c71'
              },
              {
                value: '10119',
                label: '\u5927\u5e86'
              },
              {
                value: '10120',
                label: '\u4f0a\u6625'
              },
              {
                value: '10121',
                label: '\u4f73\u6728\u65af'
              },
              {
                value: '10122',
                label: '\u4e03\u53f0\u6cb3'
              },
              {
                value: '10123',
                label: '\u7261\u4e39\u6c5f'
              },
              {
                value: '10124',
                label: '\u9ed1\u6cb3'
              },
              {
                value: '10125',
                label: '\u7ee5\u5316'
              },
              {
                value: '10126',
                label: '\u5927\u5174\u5b89\u5cad'
              }
            ]
          },
          {
            value: '12',
            label: '\u6d77\u5357',
            children: [
              {
                value: '10127',
                label: '\u6d77\u53e3'
              },
              {
                value: '10128',
                label: '\u4e09\u4e9a'
              },
              {
                value: '10129',
                label: '\u4e09\u6c99'
              },
              {
                value: '10130',
                label: '\u510b\u5dde'
              },
              {
                value: '10131',
                label: '\u4e94\u6307\u5c71'
              },
              {
                value: '10132',
                label: '\u743c\u6d77'
              },
              {
                value: '10133',
                label: '\u6587\u660c'
              },
              {
                value: '10134',
                label: '\u4e07\u5b81'
              },
              {
                value: '10135',
                label: '\u4e1c\u65b9'
              },
              {
                value: '10136',
                label: '\u5b9a\u5b89'
              },
              {
                value: '10137',
                label: '\u5c6f\u660c'
              },
              {
                value: '10138',
                label: '\u6f84\u8fc8'
              },
              {
                value: '10139',
                label: '\u4e34\u9ad8'
              },
              {
                value: '10140',
                label: '\u767d\u6c99'
              },
              {
                value: '10141',
                label: '\u660c\u6c5f'
              },
              {
                value: '10142',
                label: '\u4e50\u4e1c'
              },
              {
                value: '10143',
                label: '\u9675\u6c34'
              },
              {
                value: '10144',
                label: '\u4fdd\u4ead'
              },
              {
                value: '10145',
                label: '\u743c\u4e2d'
              }
            ]
          },
          {
            value: '13',
            label: '\u6cb3\u5357',
            children: [
              {
                value: '10146',
                label: '\u90d1\u5dde'
              },
              {
                value: '10147',
                label: '\u5f00\u5c01'
              },
              {
                value: '10148',
                label: '\u6d1b\u9633'
              },
              {
                value: '10149',
                label: '\u5e73\u9876\u5c71'
              },
              {
                value: '10150',
                label: '\u5b89\u9633'
              },
              {
                value: '10151',
                label: '\u9e64\u58c1'
              },
              {
                value: '10152',
                label: '\u65b0\u4e61'
              },
              {
                value: '10153',
                label: '\u7126\u4f5c'
              },
              {
                value: '10154',
                label: '\u6fee\u9633'
              },
              {
                value: '10155',
                label: '\u8bb8\u660c'
              },
              {
                value: '10156',
                label: '\u6f2f\u6cb3'
              },
              {
                value: '10157',
                label: '\u4e09\u95e8\u5ce1'
              },
              {
                value: '10158',
                label: '\u5357\u9633'
              },
              {
                value: '10159',
                label: '\u5546\u4e18'
              },
              {
                value: '10160',
                label: '\u4fe1\u9633'
              },
              {
                value: '10161',
                label: '\u5468\u53e3'
              },
              {
                value: '10162',
                label: '\u9a7b\u9a6c\u5e97'
              },
              {
                value: '10163',
                label: '\u6d4e\u6e90'
              }
            ]
          },
          {
            value: '14',
            label: '\u6e56\u5357',
            children: [
              {
                value: '10164',
                label: '\u957f\u6c99'
              },
              {
                value: '10165',
                label: '\u682a\u6d32'
              },
              {
                value: '10166',
                label: '\u6e58\u6f6d'
              },
              {
                value: '10167',
                label: '\u8861\u9633'
              },
              {
                value: '10168',
                label: '\u90b5\u9633'
              },
              {
                value: '10169',
                label: '\u5cb3\u9633'
              },
              {
                value: '10170',
                label: '\u5e38\u5fb7'
              },
              {
                value: '10171',
                label: '\u5f20\u5bb6\u754c'
              },
              {
                value: '10172',
                label: '\u76ca\u9633'
              },
              {
                value: '10173',
                label: '\u90f4\u5dde'
              },
              {
                value: '10174',
                label: '\u6c38\u5dde'
              },
              {
                value: '10175',
                label: '\u6000\u5316'
              },
              {
                value: '10176',
                label: '\u5a04\u5e95'
              },
              {
                value: '10177',
                label: '\u6e58\u897f'
              }
            ]
          },
          {
            value: '15',
            label: '\u5409\u6797',
            children: [
              {
                value: '10178',
                label: '\u957f\u6625'
              },
              {
                value: '10179',
                label: '\u5409\u6797'
              },
              {
                value: '10180',
                label: '\u56db\u5e73'
              },
              {
                value: '10181',
                label: '\u8fbd\u6e90'
              },
              {
                value: '10182',
                label: '\u901a\u5316'
              },
              {
                value: '10183',
                label: '\u767d\u5c71'
              },
              {
                value: '10184',
                label: '\u677e\u539f'
              },
              {
                value: '10185',
                label: '\u767d\u57ce'
              },
              {
                value: '10186',
                label: '\u5ef6\u8fb9'
              }
            ]
          },
          {
            value: '16',
            label: '\u6c5f\u82cf',
            children: [
              {
                value: '10187',
                label: '\u5357\u4eac'
              },
              {
                value: '10188',
                label: '\u65e0\u9521'
              },
              {
                value: '10189',
                label: '\u5f90\u5dde'
              },
              {
                value: '10190',
                label: '\u5e38\u5dde'
              },
              {
                value: '10191',
                label: '\u82cf\u5dde'
              },
              {
                value: '10192',
                label: '\u5357\u901a'
              },
              {
                value: '10193',
                label: '\u8fde\u4e91\u6e2f'
              },
              {
                value: '10194',
                label: '\u6dee\u5b89'
              },
              {
                value: '10195',
                label: '\u76d0\u57ce'
              },
              {
                value: '10196',
                label: '\u626c\u5dde'
              },
              {
                value: '10197',
                label: '\u9547\u6c5f'
              },
              {
                value: '10198',
                label: '\u6cf0\u5dde'
              },
              {
                value: '10199',
                label: '\u5bbf\u8fc1'
              }
            ]
          },
          {
            value: '17',
            label: '\u6c5f\u897f',
            children: [
              {
                value: '10200',
                label: '\u5357\u660c'
              },
              {
                value: '10201',
                label: '\u666f\u5fb7\u9547'
              },
              {
                value: '10202',
                label: '\u840d\u4e61'
              },
              {
                value: '10203',
                label: '\u4e5d\u6c5f'
              },
              {
                value: '10204',
                label: '\u65b0\u4f59'
              },
              {
                value: '10205',
                label: '\u9e70\u6f6d'
              },
              {
                value: '10206',
                label: '\u8d63\u5dde'
              },
              {
                value: '10207',
                label: '\u5409\u5b89'
              },
              {
                value: '10208',
                label: '\u5b9c\u6625'
              },
              {
                value: '10209',
                label: '\u629a\u5dde'
              },
              {
                value: '10210',
                label: '\u4e0a\u9976'
              }
            ]
          },
          {
            value: '18',
            label: '\u8fbd\u5b81',
            children: [
              {
                value: '10211',
                label: '\u6c88\u9633'
              },
              {
                value: '10212',
                label: '\u5927\u8fde'
              },
              {
                value: '10213',
                label: '\u978d\u5c71'
              },
              {
                value: '10214',
                label: '\u629a\u987a'
              },
              {
                value: '10215',
                label: '\u672c\u6eaa'
              },
              {
                value: '10216',
                label: '\u4e39\u4e1c'
              },
              {
                value: '10217',
                label: '\u9526\u5dde'
              },
              {
                value: '10218',
                label: '\u8425\u53e3'
              },
              {
                value: '10219',
                label: '\u961c\u65b0'
              },
              {
                value: '10220',
                label: '\u8fbd\u9633'
              },
              {
                value: '10221',
                label: '\u76d8\u9526'
              },
              {
                value: '10222',
                label: '\u94c1\u5cad'
              },
              {
                value: '10223',
                label: '\u671d\u9633'
              },
              {
                value: '10224',
                label: '\u846b\u82a6\u5c9b'
              }
            ]
          },
          {
            value: '19',
            label: '\u5185\u8499\u53e4',
            children: [
              {
                value: '10225',
                label: '\u547c\u548c\u6d69\u7279'
              },
              {
                value: '10226',
                label: '\u5305\u5934'
              },
              {
                value: '10227',
                label: '\u4e4c\u6d77'
              },
              {
                value: '10228',
                label: '\u8d64\u5cf0'
              },
              {
                value: '10229',
                label: '\u901a\u8fbd'
              },
              {
                value: '10230',
                label: '\u9102\u5c14\u591a\u65af'
              },
              {
                value: '10231',
                label: '\u547c\u4f26\u8d1d\u5c14'
              },
              {
                value: '10232',
                label: '\u5df4\u5f66\u6dd6\u5c14'
              },
              {
                value: '10233',
                label: '\u4e4c\u5170\u5bdf\u5e03'
              },
              {
                value: '10234',
                label: '\u5174\u5b89'
              },
              {
                value: '10235',
                label: '\u9521\u6797\u90ed\u52d2'
              },
              {
                value: '10236',
                label: '\u963f\u62c9\u5584'
              }
            ]
          },
          {
            value: '20',
            label: '\u5b81\u590f',
            children: [
              {
                value: '10237',
                label: '\u94f6\u5ddd'
              },
              {
                value: '10238',
                label: '\u77f3\u5634\u5c71'
              },
              {
                value: '10239',
                label: '\u5434\u5fe0'
              },
              {
                value: '10240',
                label: '\u56fa\u539f'
              },
              {
                value: '10241',
                label: '\u4e2d\u536b'
              }
            ]
          },
          {
            value: '21',
            label: '\u9752\u6d77',
            children: [
              {
                value: '10242',
                label: '\u897f\u5b81'
              },
              {
                value: '10243',
                label: '\u6d77\u4e1c'
              },
              {
                value: '10244',
                label: '\u6d77\u5317'
              },
              {
                value: '10245',
                label: '\u9ec4\u5357'
              },
              {
                value: '10246',
                label: '\u6d77\u5357'
              },
              {
                value: '10247',
                label: '\u679c\u6d1b'
              },
              {
                value: '10248',
                label: '\u7389\u6811'
              },
              {
                value: '10249',
                label: '\u6d77\u897f'
              }
            ]
          },
          {
            value: '22',
            label: '\u56db\u5ddd',
            children: [
              {
                value: '10250',
                label: '\u6210\u90fd'
              },
              {
                value: '10251',
                label: '\u81ea\u8d21'
              },
              {
                value: '10252',
                label: '\u6500\u679d\u82b1'
              },
              {
                value: '10253',
                label: '\u6cf8\u5dde'
              },
              {
                value: '10254',
                label: '\u5fb7\u9633'
              },
              {
                value: '10255',
                label: '\u7ef5\u9633'
              },
              {
                value: '10256',
                label: '\u5e7f\u5143'
              },
              {
                value: '10257',
                label: '\u9042\u5b81'
              },
              {
                value: '10258',
                label: '\u5185\u6c5f'
              },
              {
                value: '10259',
                label: '\u4e50\u5c71'
              },
              {
                value: '10260',
                label: '\u5357\u5145'
              },
              {
                value: '10261',
                label: '\u7709\u5c71'
              },
              {
                value: '10262',
                label: '\u5b9c\u5bbe'
              },
              {
                value: '10263',
                label: '\u5e7f\u5b89'
              },
              {
                value: '10264',
                label: '\u8fbe\u5dde'
              },
              {
                value: '10265',
                label: '\u96c5\u5b89'
              },
              {
                value: '10266',
                label: '\u5df4\u4e2d'
              },
              {
                value: '10267',
                label: '\u8d44\u9633'
              },
              {
                value: '10268',
                label: '\u963f\u575d'
              },
              {
                value: '10269',
                label: '\u7518\u5b5c'
              },
              {
                value: '10270',
                label: '\u51c9\u5c71'
              }
            ]
          },
          {
            value: '23',
            label: '\u5c71\u4e1c',
            children: [
              {
                value: '10271',
                label: '\u6d4e\u5357'
              },
              {
                value: '10272',
                label: '\u9752\u5c9b'
              },
              {
                value: '10273',
                label: '\u6dc4\u535a'
              },
              {
                value: '10274',
                label: '\u67a3\u5e84'
              },
              {
                value: '10275',
                label: '\u4e1c\u8425'
              },
              {
                value: '10276',
                label: '\u70df\u53f0'
              },
              {
                value: '10277',
                label: '\u6f4d\u574a'
              },
              {
                value: '10278',
                label: '\u6d4e\u5b81'
              },
              {
                value: '10279',
                label: '\u6cf0\u5b89'
              },
              {
                value: '10280',
                label: '\u5a01\u6d77'
              },
              {
                value: '10281',
                label: '\u65e5\u7167'
              },
              {
                value: '10282',
                label: '\u4e34\u6c82'
              },
              {
                value: '10283',
                label: '\u5fb7\u5dde'
              },
              {
                value: '10284',
                label: '\u804a\u57ce'
              },
              {
                value: '10285',
                label: '\u6ee8\u5dde'
              },
              {
                value: '10286',
                label: '\u83cf\u6cfd'
              }
            ]
          },
          {
            value: '24',
            label: '\u4e0a\u6d77',
            children: [
              {
                value: '10287',
                label: '\u4e0a\u6d77'
              }
            ]
          },
          {
            value: '25',
            label: '\u5c71\u897f',
            children: [
              {
                value: '10288',
                label: '\u592a\u539f'
              },
              {
                value: '10289',
                label: '\u5927\u540c'
              },
              {
                value: '10290',
                label: '\u9633\u6cc9'
              },
              {
                value: '10291',
                label: '\u957f\u6cbb'
              },
              {
                value: '10292',
                label: '\u664b\u57ce'
              },
              {
                value: '10293',
                label: '\u6714\u5dde'
              },
              {
                value: '10294',
                label: '\u664b\u4e2d'
              },
              {
                value: '10295',
                label: '\u8fd0\u57ce'
              },
              {
                value: '10296',
                label: '\u5ffb\u5dde'
              },
              {
                value: '10297',
                label: '\u4e34\u6c7e'
              },
              {
                value: '10298',
                label: '\u5415\u6881'
              }
            ]
          },
          {
            value: '26',
            label: '\u9655\u897f',
            children: [
              {
                value: '10299',
                label: '\u897f\u5b89'
              },
              {
                value: '10300',
                label: '\u94dc\u5ddd'
              },
              {
                value: '10301',
                label: '\u5b9d\u9e21'
              },
              {
                value: '10302',
                label: '\u54b8\u9633'
              },
              {
                value: '10303',
                label: '\u6e2d\u5357'
              },
              {
                value: '10304',
                label: '\u5ef6\u5b89'
              },
              {
                value: '10305',
                label: '\u6c49\u4e2d'
              },
              {
                value: '10306',
                label: '\u6986\u6797'
              },
              {
                value: '10307',
                label: '\u5b89\u5eb7'
              },
              {
                value: '10308',
                label: '\u5546\u6d1b'
              }
            ]
          },
          {
            value: '27',
            label: '\u5929\u6d25',
            children: [
              {
                value: '10309',
                label: '\u5929\u6d25'
              }
            ]
          },
          {
            value: '28',
            label: '\u65b0\u7586',
            children: [
              {
                value: '10310',
                label: '\u4e4c\u9c81\u6728\u9f50'
              },
              {
                value: '10311',
                label: '\u514b\u62c9\u739b\u4f9d'
              },
              {
                value: '10312',
                label: '\u5410\u9c81\u756a'
              },
              {
                value: '10313',
                label: '\u54c8\u5bc6'
              },
              {
                value: '10314',
                label: '\u660c\u5409'
              },
              {
                value: '10315',
                label: '\u535a\u5c14\u5854\u62c9'
              },
              {
                value: '10316',
                label: '\u5df4\u97f3\u90ed\u695e'
              },
              {
                value: '10317',
                label: '\u963f\u514b\u82cf'
              },
              {
                value: '10318',
                label: '\u514b\u5b5c\u52d2\u82cf'
              },
              {
                value: '10319',
                label: '\u5580\u4ec0'
              },
              {
                value: '10320',
                label: '\u548c\u7530'
              },
              {
                value: '10321',
                label: '\u4f0a\u7281'
              },
              {
                value: '10322',
                label: '\u5854\u57ce'
              },
              {
                value: '10323',
                label: '\u963f\u52d2\u6cf0'
              }
            ]
          },
          {
            value: '29',
            label: '\u897f\u85cf',
            children: [
              {
                value: '10324',
                label: '\u62c9\u8428'
              },
              {
                value: '10325',
                label: '\u65e5\u5580\u5219'
              },
              {
                value: '10326',
                label: '\u660c\u90fd'
              },
              {
                value: '10327',
                label: '\u6797\u829d'
              },
              {
                value: '10328',
                label: '\u5c71\u5357'
              },
              {
                value: '10329',
                label: '\u90a3\u66f2'
              },
              {
                value: '10330',
                label: '\u963f\u91cc'
              }
            ]
          },
          {
            value: '30',
            label: '\u4e91\u5357',
            children: [
              {
                value: '10331',
                label: '\u6606\u660e'
              },
              {
                value: '10332',
                label: '\u66f2\u9756'
              },
              {
                value: '10333',
                label: '\u7389\u6eaa'
              },
              {
                value: '10334',
                label: '\u4fdd\u5c71'
              },
              {
                value: '10335',
                label: '\u662d\u901a'
              },
              {
                value: '10336',
                label: '\u4e3d\u6c5f'
              },
              {
                value: '10337',
                label: '\u666e\u6d31'
              },
              {
                value: '10338',
                label: '\u4e34\u6ca7'
              },
              {
                value: '10339',
                label: '\u695a\u96c4'
              },
              {
                value: '10340',
                label: '\u7ea2\u6cb3'
              },
              {
                value: '10341',
                label: '\u6587\u5c71'
              },
              {
                value: '10342',
                label: '\u897f\u53cc\u7248\u7eb3'
              },
              {
                value: '10343',
                label: '\u5927\u7406'
              },
              {
                value: '10344',
                label: '\u5fb7\u5b8f'
              },
              {
                value: '10345',
                label: '\u6012\u6c5f'
              },
              {
                value: '10346',
                label: '\u8fea\u5e86'
              }
            ]
          },
          {
            value: '31',
            label: '\u6d59\u6c5f',
            children: [
              {
                value: '10347',
                label: '\u676d\u5dde'
              },
              {
                value: '10348',
                label: '\u5b81\u6ce2'
              },
              {
                value: '10349',
                label: '\u6e29\u5dde'
              },
              {
                value: '10350',
                label: '\u5609\u5174'
              },
              {
                value: '10351',
                label: '\u6e56\u5dde'
              },
              {
                value: '10352',
                label: '\u7ecd\u5174'
              },
              {
                value: '10353',
                label: '\u91d1\u534e'
              },
              {
                value: '10354',
                label: '\u8862\u5dde'
              },
              {
                value: '10355',
                label: '\u821f\u5c71'
              },
              {
                value: '10356',
                label: '\u53f0\u5dde'
              },
              {
                value: '10357',
                label: '\u4e3d\u6c34'
              }
            ]
          },
          {
            value: '32',
            label: '\u53f0\u6e7e',
            children: [
              {
                value: '10358',
                label: '\u53f0\u6e7e'
              }
            ]
          },
          {
            value: '33',
            label: '\u9999\u6e2f',
            children: [
              {
                value: '10359',
                label: '\u9999\u6e2f'
              }
            ]
          },
          {
            value: '34',
            label: '\u6fb3\u95e8',
            children: [
              {
                value: '10360',
                label: '\u6fb3\u95e8'
              }
            ]
          }
        ],
        {
          defaultValue: [2, 1],
          onConfirm: result => {
            // console.log(result)
            this.fromCity = result[1].label
            this.fromCityId = result[1].value

            // if (this.toCityId) {
            //   this.getData()
            // } else {
            //   this.getCurrent()
            // }
          }
        }
      )
    },
    showToCityList() {
      this.$weui.picker(
        [
          {
            value: '1',
            label: '\u5b89\u5fbd',
            children: [
              {
                value: '10001',
                label: '\u5408\u80a5'
              },
              {
                value: '10002',
                label: '\u829c\u6e56'
              },
              {
                value: '10003',
                label: '\u868c\u57e0'
              },
              {
                value: '10004',
                label: '\u6dee\u5357'
              },
              {
                value: '10005',
                label: '\u9a6c\u978d\u5c71'
              },
              {
                value: '10006',
                label: '\u6dee\u5317'
              },
              {
                value: '10007',
                label: '\u94dc\u9675'
              },
              {
                value: '10008',
                label: '\u5b89\u5e86'
              },
              {
                value: '10009',
                label: '\u9ec4\u5c71'
              },
              {
                value: '10010',
                label: '\u6ec1\u5dde'
              },
              {
                value: '10011',
                label: '\u961c\u9633'
              },
              {
                value: '10012',
                label: '\u5bbf\u5dde'
              },
              {
                value: '10013',
                label: '\u516d\u5b89'
              },
              {
                value: '10014',
                label: '\u4eb3\u5dde'
              },
              {
                value: '10015',
                label: '\u6c60\u5dde'
              },
              {
                value: '10016',
                label: '\u5ba3\u57ce'
              }
            ]
          },
          {
            value: '2',
            label: '\u5317\u4eac',
            children: [
              {
                value: '10017',
                label: '\u5317\u4eac'
              }
            ]
          },
          {
            value: '3',
            label: '\u91cd\u5e86',
            children: [
              {
                value: '10018',
                label: '\u91cd\u5e86'
              }
            ]
          },
          {
            value: '4',
            label: '\u798f\u5efa',
            children: [
              {
                value: '10019',
                label: '\u798f\u5dde'
              },
              {
                value: '10020',
                label: '\u53a6\u95e8'
              },
              {
                value: '10021',
                label: '\u8386\u7530'
              },
              {
                value: '10022',
                label: '\u4e09\u660e'
              },
              {
                value: '10023',
                label: '\u6cc9\u5dde'
              },
              {
                value: '10024',
                label: '\u6f33\u5dde'
              },
              {
                value: '10025',
                label: '\u5357\u5e73'
              },
              {
                value: '10026',
                label: '\u9f99\u5ca9'
              },
              {
                value: '10027',
                label: '\u5b81\u5fb7'
              }
            ]
          },
          {
            value: '5',
            label: '\u5e7f\u4e1c',
            children: [
              {
                value: '10028',
                label: '\u5e7f\u5dde'
              },
              {
                value: '10029',
                label: '\u97f6\u5173'
              },
              {
                value: '10030',
                label: '\u6df1\u5733'
              },
              {
                value: '10031',
                label: '\u73e0\u6d77'
              },
              {
                value: '10032',
                label: '\u6c55\u5934'
              },
              {
                value: '10033',
                label: '\u4f5b\u5c71'
              },
              {
                value: '10034',
                label: '\u6c5f\u95e8'
              },
              {
                value: '10035',
                label: '\u6e5b\u6c5f'
              },
              {
                value: '10036',
                label: '\u8302\u540d'
              },
              {
                value: '10037',
                label: '\u8087\u5e86'
              },
              {
                value: '10038',
                label: '\u60e0\u5dde'
              },
              {
                value: '10039',
                label: '\u6885\u5dde'
              },
              {
                value: '10040',
                label: '\u6c55\u5c3e'
              },
              {
                value: '10041',
                label: '\u6cb3\u6e90'
              },
              {
                value: '10042',
                label: '\u9633\u6c5f'
              },
              {
                value: '10043',
                label: '\u6e05\u8fdc'
              },
              {
                value: '10044',
                label: '\u4e1c\u839e'
              },
              {
                value: '10045',
                label: '\u4e2d\u5c71'
              },
              {
                value: '10046',
                label: '\u6f6e\u5dde'
              },
              {
                value: '10047',
                label: '\u63ed\u9633'
              },
              {
                value: '10048',
                label: '\u4e91\u6d6e'
              }
            ]
          },
          {
            value: '6',
            label: '\u7518\u8083',
            children: [
              {
                value: '10049',
                label: '\u5170\u5dde'
              },
              {
                value: '10050',
                label: '\u5609\u5cea\u5173'
              },
              {
                value: '10051',
                label: '\u91d1\u660c'
              },
              {
                value: '10052',
                label: '\u767d\u94f6'
              },
              {
                value: '10053',
                label: '\u5929\u6c34'
              },
              {
                value: '10054',
                label: '\u6b66\u5a01'
              },
              {
                value: '10055',
                label: '\u5f20\u6396'
              },
              {
                value: '10056',
                label: '\u5e73\u51c9'
              },
              {
                value: '10057',
                label: '\u9152\u6cc9'
              },
              {
                value: '10058',
                label: '\u5e86\u9633'
              },
              {
                value: '10059',
                label: '\u5b9a\u897f'
              },
              {
                value: '10060',
                label: '\u9647\u5357'
              },
              {
                value: '10061',
                label: '\u4e34\u590f'
              },
              {
                value: '10062',
                label: '\u7518\u5357'
              }
            ]
          },
          {
            value: '7',
            label: '\u5e7f\u897f',
            children: [
              {
                value: '10063',
                label: '\u5357\u5b81'
              },
              {
                value: '10064',
                label: '\u67f3\u5dde'
              },
              {
                value: '10065',
                label: '\u6842\u6797'
              },
              {
                value: '10066',
                label: '\u68a7\u5dde'
              },
              {
                value: '10067',
                label: '\u5317\u6d77'
              },
              {
                value: '10068',
                label: '\u9632\u57ce\u6e2f'
              },
              {
                value: '10069',
                label: '\u94a6\u5dde'
              },
              {
                value: '10070',
                label: '\u8d35\u6e2f'
              },
              {
                value: '10071',
                label: '\u7389\u6797'
              },
              {
                value: '10072',
                label: '\u767e\u8272'
              },
              {
                value: '10073',
                label: '\u8d3a\u5dde'
              },
              {
                value: '10074',
                label: '\u6cb3\u6c60'
              },
              {
                value: '10075',
                label: '\u6765\u5bbe'
              },
              {
                value: '10076',
                label: '\u5d07\u5de6'
              }
            ]
          },
          {
            value: '8',
            label: '\u8d35\u5dde',
            children: [
              {
                value: '10077',
                label: '\u8d35\u9633'
              },
              {
                value: '10078',
                label: '\u516d\u76d8\u6c34'
              },
              {
                value: '10079',
                label: '\u9075\u4e49'
              },
              {
                value: '10080',
                label: '\u5b89\u987a'
              },
              {
                value: '10081',
                label: '\u6bd5\u8282'
              },
              {
                value: '10082',
                label: '\u94dc\u4ec1'
              },
              {
                value: '10083',
                label: '\u9ed4\u897f\u5357'
              },
              {
                value: '10084',
                label: '\u9ed4\u4e1c\u5357'
              },
              {
                value: '10085',
                label: '\u9ed4\u5357'
              }
            ]
          },
          {
            value: '9',
            label: '\u6cb3\u5317',
            children: [
              {
                value: '10086',
                label: '\u77f3\u5bb6\u5e84'
              },
              {
                value: '10087',
                label: '\u5510\u5c71'
              },
              {
                value: '10088',
                label: '\u79e6\u7687\u5c9b'
              },
              {
                value: '10089',
                label: '\u90af\u90f8'
              },
              {
                value: '10090',
                label: '\u90a2\u53f0'
              },
              {
                value: '10091',
                label: '\u4fdd\u5b9a'
              },
              {
                value: '10092',
                label: '\u5f20\u5bb6\u53e3'
              },
              {
                value: '10093',
                label: '\u627f\u5fb7'
              },
              {
                value: '10094',
                label: '\u6ca7\u5dde'
              },
              {
                value: '10095',
                label: '\u5eca\u574a'
              },
              {
                value: '10096',
                label: '\u8861\u6c34'
              }
            ]
          },
          {
            value: '10',
            label: '\u6e56\u5317',
            children: [
              {
                value: '10097',
                label: '\u6b66\u6c49'
              },
              {
                value: '10098',
                label: '\u9ec4\u77f3'
              },
              {
                value: '10099',
                label: '\u5341\u5830'
              },
              {
                value: '10100',
                label: '\u5b9c\u660c'
              },
              {
                value: '10101',
                label: '\u8944\u9633'
              },
              {
                value: '10102',
                label: '\u9102\u5dde'
              },
              {
                value: '10103',
                label: '\u8346\u95e8'
              },
              {
                value: '10104',
                label: '\u5b5d\u611f'
              },
              {
                value: '10105',
                label: '\u8346\u5dde'
              },
              {
                value: '10106',
                label: '\u9ec4\u5188'
              },
              {
                value: '10107',
                label: '\u54b8\u5b81'
              },
              {
                value: '10108',
                label: '\u968f\u5dde'
              },
              {
                value: '10109',
                label: '\u6069\u65bd'
              },
              {
                value: '10110',
                label: '\u4ed9\u6843'
              },
              {
                value: '10111',
                label: '\u6f5c\u6c5f'
              },
              {
                value: '10112',
                label: '\u5929\u95e8'
              },
              {
                value: '10113',
                label: '\u795e\u519c\u67b6'
              }
            ]
          },
          {
            value: '11',
            label: '\u9ed1\u9f99\u6c5f',
            children: [
              {
                value: '10114',
                label: '\u54c8\u5c14\u6ee8'
              },
              {
                value: '10115',
                label: '\u9f50\u9f50\u54c8\u5c14'
              },
              {
                value: '10116',
                label: '\u9e21\u897f'
              },
              {
                value: '10117',
                label: '\u9e64\u5c97'
              },
              {
                value: '10118',
                label: '\u53cc\u9e2d\u5c71'
              },
              {
                value: '10119',
                label: '\u5927\u5e86'
              },
              {
                value: '10120',
                label: '\u4f0a\u6625'
              },
              {
                value: '10121',
                label: '\u4f73\u6728\u65af'
              },
              {
                value: '10122',
                label: '\u4e03\u53f0\u6cb3'
              },
              {
                value: '10123',
                label: '\u7261\u4e39\u6c5f'
              },
              {
                value: '10124',
                label: '\u9ed1\u6cb3'
              },
              {
                value: '10125',
                label: '\u7ee5\u5316'
              },
              {
                value: '10126',
                label: '\u5927\u5174\u5b89\u5cad'
              }
            ]
          },
          {
            value: '12',
            label: '\u6d77\u5357',
            children: [
              {
                value: '10127',
                label: '\u6d77\u53e3'
              },
              {
                value: '10128',
                label: '\u4e09\u4e9a'
              },
              {
                value: '10129',
                label: '\u4e09\u6c99'
              },
              {
                value: '10130',
                label: '\u510b\u5dde'
              },
              {
                value: '10131',
                label: '\u4e94\u6307\u5c71'
              },
              {
                value: '10132',
                label: '\u743c\u6d77'
              },
              {
                value: '10133',
                label: '\u6587\u660c'
              },
              {
                value: '10134',
                label: '\u4e07\u5b81'
              },
              {
                value: '10135',
                label: '\u4e1c\u65b9'
              },
              {
                value: '10136',
                label: '\u5b9a\u5b89'
              },
              {
                value: '10137',
                label: '\u5c6f\u660c'
              },
              {
                value: '10138',
                label: '\u6f84\u8fc8'
              },
              {
                value: '10139',
                label: '\u4e34\u9ad8'
              },
              {
                value: '10140',
                label: '\u767d\u6c99'
              },
              {
                value: '10141',
                label: '\u660c\u6c5f'
              },
              {
                value: '10142',
                label: '\u4e50\u4e1c'
              },
              {
                value: '10143',
                label: '\u9675\u6c34'
              },
              {
                value: '10144',
                label: '\u4fdd\u4ead'
              },
              {
                value: '10145',
                label: '\u743c\u4e2d'
              }
            ]
          },
          {
            value: '13',
            label: '\u6cb3\u5357',
            children: [
              {
                value: '10146',
                label: '\u90d1\u5dde'
              },
              {
                value: '10147',
                label: '\u5f00\u5c01'
              },
              {
                value: '10148',
                label: '\u6d1b\u9633'
              },
              {
                value: '10149',
                label: '\u5e73\u9876\u5c71'
              },
              {
                value: '10150',
                label: '\u5b89\u9633'
              },
              {
                value: '10151',
                label: '\u9e64\u58c1'
              },
              {
                value: '10152',
                label: '\u65b0\u4e61'
              },
              {
                value: '10153',
                label: '\u7126\u4f5c'
              },
              {
                value: '10154',
                label: '\u6fee\u9633'
              },
              {
                value: '10155',
                label: '\u8bb8\u660c'
              },
              {
                value: '10156',
                label: '\u6f2f\u6cb3'
              },
              {
                value: '10157',
                label: '\u4e09\u95e8\u5ce1'
              },
              {
                value: '10158',
                label: '\u5357\u9633'
              },
              {
                value: '10159',
                label: '\u5546\u4e18'
              },
              {
                value: '10160',
                label: '\u4fe1\u9633'
              },
              {
                value: '10161',
                label: '\u5468\u53e3'
              },
              {
                value: '10162',
                label: '\u9a7b\u9a6c\u5e97'
              },
              {
                value: '10163',
                label: '\u6d4e\u6e90'
              }
            ]
          },
          {
            value: '14',
            label: '\u6e56\u5357',
            children: [
              {
                value: '10164',
                label: '\u957f\u6c99'
              },
              {
                value: '10165',
                label: '\u682a\u6d32'
              },
              {
                value: '10166',
                label: '\u6e58\u6f6d'
              },
              {
                value: '10167',
                label: '\u8861\u9633'
              },
              {
                value: '10168',
                label: '\u90b5\u9633'
              },
              {
                value: '10169',
                label: '\u5cb3\u9633'
              },
              {
                value: '10170',
                label: '\u5e38\u5fb7'
              },
              {
                value: '10171',
                label: '\u5f20\u5bb6\u754c'
              },
              {
                value: '10172',
                label: '\u76ca\u9633'
              },
              {
                value: '10173',
                label: '\u90f4\u5dde'
              },
              {
                value: '10174',
                label: '\u6c38\u5dde'
              },
              {
                value: '10175',
                label: '\u6000\u5316'
              },
              {
                value: '10176',
                label: '\u5a04\u5e95'
              },
              {
                value: '10177',
                label: '\u6e58\u897f'
              }
            ]
          },
          {
            value: '15',
            label: '\u5409\u6797',
            children: [
              {
                value: '10178',
                label: '\u957f\u6625'
              },
              {
                value: '10179',
                label: '\u5409\u6797'
              },
              {
                value: '10180',
                label: '\u56db\u5e73'
              },
              {
                value: '10181',
                label: '\u8fbd\u6e90'
              },
              {
                value: '10182',
                label: '\u901a\u5316'
              },
              {
                value: '10183',
                label: '\u767d\u5c71'
              },
              {
                value: '10184',
                label: '\u677e\u539f'
              },
              {
                value: '10185',
                label: '\u767d\u57ce'
              },
              {
                value: '10186',
                label: '\u5ef6\u8fb9'
              }
            ]
          },
          {
            value: '16',
            label: '\u6c5f\u82cf',
            children: [
              {
                value: '10187',
                label: '\u5357\u4eac'
              },
              {
                value: '10188',
                label: '\u65e0\u9521'
              },
              {
                value: '10189',
                label: '\u5f90\u5dde'
              },
              {
                value: '10190',
                label: '\u5e38\u5dde'
              },
              {
                value: '10191',
                label: '\u82cf\u5dde'
              },
              {
                value: '10192',
                label: '\u5357\u901a'
              },
              {
                value: '10193',
                label: '\u8fde\u4e91\u6e2f'
              },
              {
                value: '10194',
                label: '\u6dee\u5b89'
              },
              {
                value: '10195',
                label: '\u76d0\u57ce'
              },
              {
                value: '10196',
                label: '\u626c\u5dde'
              },
              {
                value: '10197',
                label: '\u9547\u6c5f'
              },
              {
                value: '10198',
                label: '\u6cf0\u5dde'
              },
              {
                value: '10199',
                label: '\u5bbf\u8fc1'
              }
            ]
          },
          {
            value: '17',
            label: '\u6c5f\u897f',
            children: [
              {
                value: '10200',
                label: '\u5357\u660c'
              },
              {
                value: '10201',
                label: '\u666f\u5fb7\u9547'
              },
              {
                value: '10202',
                label: '\u840d\u4e61'
              },
              {
                value: '10203',
                label: '\u4e5d\u6c5f'
              },
              {
                value: '10204',
                label: '\u65b0\u4f59'
              },
              {
                value: '10205',
                label: '\u9e70\u6f6d'
              },
              {
                value: '10206',
                label: '\u8d63\u5dde'
              },
              {
                value: '10207',
                label: '\u5409\u5b89'
              },
              {
                value: '10208',
                label: '\u5b9c\u6625'
              },
              {
                value: '10209',
                label: '\u629a\u5dde'
              },
              {
                value: '10210',
                label: '\u4e0a\u9976'
              }
            ]
          },
          {
            value: '18',
            label: '\u8fbd\u5b81',
            children: [
              {
                value: '10211',
                label: '\u6c88\u9633'
              },
              {
                value: '10212',
                label: '\u5927\u8fde'
              },
              {
                value: '10213',
                label: '\u978d\u5c71'
              },
              {
                value: '10214',
                label: '\u629a\u987a'
              },
              {
                value: '10215',
                label: '\u672c\u6eaa'
              },
              {
                value: '10216',
                label: '\u4e39\u4e1c'
              },
              {
                value: '10217',
                label: '\u9526\u5dde'
              },
              {
                value: '10218',
                label: '\u8425\u53e3'
              },
              {
                value: '10219',
                label: '\u961c\u65b0'
              },
              {
                value: '10220',
                label: '\u8fbd\u9633'
              },
              {
                value: '10221',
                label: '\u76d8\u9526'
              },
              {
                value: '10222',
                label: '\u94c1\u5cad'
              },
              {
                value: '10223',
                label: '\u671d\u9633'
              },
              {
                value: '10224',
                label: '\u846b\u82a6\u5c9b'
              }
            ]
          },
          {
            value: '19',
            label: '\u5185\u8499\u53e4',
            children: [
              {
                value: '10225',
                label: '\u547c\u548c\u6d69\u7279'
              },
              {
                value: '10226',
                label: '\u5305\u5934'
              },
              {
                value: '10227',
                label: '\u4e4c\u6d77'
              },
              {
                value: '10228',
                label: '\u8d64\u5cf0'
              },
              {
                value: '10229',
                label: '\u901a\u8fbd'
              },
              {
                value: '10230',
                label: '\u9102\u5c14\u591a\u65af'
              },
              {
                value: '10231',
                label: '\u547c\u4f26\u8d1d\u5c14'
              },
              {
                value: '10232',
                label: '\u5df4\u5f66\u6dd6\u5c14'
              },
              {
                value: '10233',
                label: '\u4e4c\u5170\u5bdf\u5e03'
              },
              {
                value: '10234',
                label: '\u5174\u5b89'
              },
              {
                value: '10235',
                label: '\u9521\u6797\u90ed\u52d2'
              },
              {
                value: '10236',
                label: '\u963f\u62c9\u5584'
              }
            ]
          },
          {
            value: '20',
            label: '\u5b81\u590f',
            children: [
              {
                value: '10237',
                label: '\u94f6\u5ddd'
              },
              {
                value: '10238',
                label: '\u77f3\u5634\u5c71'
              },
              {
                value: '10239',
                label: '\u5434\u5fe0'
              },
              {
                value: '10240',
                label: '\u56fa\u539f'
              },
              {
                value: '10241',
                label: '\u4e2d\u536b'
              }
            ]
          },
          {
            value: '21',
            label: '\u9752\u6d77',
            children: [
              {
                value: '10242',
                label: '\u897f\u5b81'
              },
              {
                value: '10243',
                label: '\u6d77\u4e1c'
              },
              {
                value: '10244',
                label: '\u6d77\u5317'
              },
              {
                value: '10245',
                label: '\u9ec4\u5357'
              },
              {
                value: '10246',
                label: '\u6d77\u5357'
              },
              {
                value: '10247',
                label: '\u679c\u6d1b'
              },
              {
                value: '10248',
                label: '\u7389\u6811'
              },
              {
                value: '10249',
                label: '\u6d77\u897f'
              }
            ]
          },
          {
            value: '22',
            label: '\u56db\u5ddd',
            children: [
              {
                value: '10250',
                label: '\u6210\u90fd'
              },
              {
                value: '10251',
                label: '\u81ea\u8d21'
              },
              {
                value: '10252',
                label: '\u6500\u679d\u82b1'
              },
              {
                value: '10253',
                label: '\u6cf8\u5dde'
              },
              {
                value: '10254',
                label: '\u5fb7\u9633'
              },
              {
                value: '10255',
                label: '\u7ef5\u9633'
              },
              {
                value: '10256',
                label: '\u5e7f\u5143'
              },
              {
                value: '10257',
                label: '\u9042\u5b81'
              },
              {
                value: '10258',
                label: '\u5185\u6c5f'
              },
              {
                value: '10259',
                label: '\u4e50\u5c71'
              },
              {
                value: '10260',
                label: '\u5357\u5145'
              },
              {
                value: '10261',
                label: '\u7709\u5c71'
              },
              {
                value: '10262',
                label: '\u5b9c\u5bbe'
              },
              {
                value: '10263',
                label: '\u5e7f\u5b89'
              },
              {
                value: '10264',
                label: '\u8fbe\u5dde'
              },
              {
                value: '10265',
                label: '\u96c5\u5b89'
              },
              {
                value: '10266',
                label: '\u5df4\u4e2d'
              },
              {
                value: '10267',
                label: '\u8d44\u9633'
              },
              {
                value: '10268',
                label: '\u963f\u575d'
              },
              {
                value: '10269',
                label: '\u7518\u5b5c'
              },
              {
                value: '10270',
                label: '\u51c9\u5c71'
              }
            ]
          },
          {
            value: '23',
            label: '\u5c71\u4e1c',
            children: [
              {
                value: '10271',
                label: '\u6d4e\u5357'
              },
              {
                value: '10272',
                label: '\u9752\u5c9b'
              },
              {
                value: '10273',
                label: '\u6dc4\u535a'
              },
              {
                value: '10274',
                label: '\u67a3\u5e84'
              },
              {
                value: '10275',
                label: '\u4e1c\u8425'
              },
              {
                value: '10276',
                label: '\u70df\u53f0'
              },
              {
                value: '10277',
                label: '\u6f4d\u574a'
              },
              {
                value: '10278',
                label: '\u6d4e\u5b81'
              },
              {
                value: '10279',
                label: '\u6cf0\u5b89'
              },
              {
                value: '10280',
                label: '\u5a01\u6d77'
              },
              {
                value: '10281',
                label: '\u65e5\u7167'
              },
              {
                value: '10282',
                label: '\u4e34\u6c82'
              },
              {
                value: '10283',
                label: '\u5fb7\u5dde'
              },
              {
                value: '10284',
                label: '\u804a\u57ce'
              },
              {
                value: '10285',
                label: '\u6ee8\u5dde'
              },
              {
                value: '10286',
                label: '\u83cf\u6cfd'
              }
            ]
          },
          {
            value: '24',
            label: '\u4e0a\u6d77',
            children: [
              {
                value: '10287',
                label: '\u4e0a\u6d77'
              }
            ]
          },
          {
            value: '25',
            label: '\u5c71\u897f',
            children: [
              {
                value: '10288',
                label: '\u592a\u539f'
              },
              {
                value: '10289',
                label: '\u5927\u540c'
              },
              {
                value: '10290',
                label: '\u9633\u6cc9'
              },
              {
                value: '10291',
                label: '\u957f\u6cbb'
              },
              {
                value: '10292',
                label: '\u664b\u57ce'
              },
              {
                value: '10293',
                label: '\u6714\u5dde'
              },
              {
                value: '10294',
                label: '\u664b\u4e2d'
              },
              {
                value: '10295',
                label: '\u8fd0\u57ce'
              },
              {
                value: '10296',
                label: '\u5ffb\u5dde'
              },
              {
                value: '10297',
                label: '\u4e34\u6c7e'
              },
              {
                value: '10298',
                label: '\u5415\u6881'
              }
            ]
          },
          {
            value: '26',
            label: '\u9655\u897f',
            children: [
              {
                value: '10299',
                label: '\u897f\u5b89'
              },
              {
                value: '10300',
                label: '\u94dc\u5ddd'
              },
              {
                value: '10301',
                label: '\u5b9d\u9e21'
              },
              {
                value: '10302',
                label: '\u54b8\u9633'
              },
              {
                value: '10303',
                label: '\u6e2d\u5357'
              },
              {
                value: '10304',
                label: '\u5ef6\u5b89'
              },
              {
                value: '10305',
                label: '\u6c49\u4e2d'
              },
              {
                value: '10306',
                label: '\u6986\u6797'
              },
              {
                value: '10307',
                label: '\u5b89\u5eb7'
              },
              {
                value: '10308',
                label: '\u5546\u6d1b'
              }
            ]
          },
          {
            value: '27',
            label: '\u5929\u6d25',
            children: [
              {
                value: '10309',
                label: '\u5929\u6d25'
              }
            ]
          },
          {
            value: '28',
            label: '\u65b0\u7586',
            children: [
              {
                value: '10310',
                label: '\u4e4c\u9c81\u6728\u9f50'
              },
              {
                value: '10311',
                label: '\u514b\u62c9\u739b\u4f9d'
              },
              {
                value: '10312',
                label: '\u5410\u9c81\u756a'
              },
              {
                value: '10313',
                label: '\u54c8\u5bc6'
              },
              {
                value: '10314',
                label: '\u660c\u5409'
              },
              {
                value: '10315',
                label: '\u535a\u5c14\u5854\u62c9'
              },
              {
                value: '10316',
                label: '\u5df4\u97f3\u90ed\u695e'
              },
              {
                value: '10317',
                label: '\u963f\u514b\u82cf'
              },
              {
                value: '10318',
                label: '\u514b\u5b5c\u52d2\u82cf'
              },
              {
                value: '10319',
                label: '\u5580\u4ec0'
              },
              {
                value: '10320',
                label: '\u548c\u7530'
              },
              {
                value: '10321',
                label: '\u4f0a\u7281'
              },
              {
                value: '10322',
                label: '\u5854\u57ce'
              },
              {
                value: '10323',
                label: '\u963f\u52d2\u6cf0'
              }
            ]
          },
          {
            value: '29',
            label: '\u897f\u85cf',
            children: [
              {
                value: '10324',
                label: '\u62c9\u8428'
              },
              {
                value: '10325',
                label: '\u65e5\u5580\u5219'
              },
              {
                value: '10326',
                label: '\u660c\u90fd'
              },
              {
                value: '10327',
                label: '\u6797\u829d'
              },
              {
                value: '10328',
                label: '\u5c71\u5357'
              },
              {
                value: '10329',
                label: '\u90a3\u66f2'
              },
              {
                value: '10330',
                label: '\u963f\u91cc'
              }
            ]
          },
          {
            value: '30',
            label: '\u4e91\u5357',
            children: [
              {
                value: '10331',
                label: '\u6606\u660e'
              },
              {
                value: '10332',
                label: '\u66f2\u9756'
              },
              {
                value: '10333',
                label: '\u7389\u6eaa'
              },
              {
                value: '10334',
                label: '\u4fdd\u5c71'
              },
              {
                value: '10335',
                label: '\u662d\u901a'
              },
              {
                value: '10336',
                label: '\u4e3d\u6c5f'
              },
              {
                value: '10337',
                label: '\u666e\u6d31'
              },
              {
                value: '10338',
                label: '\u4e34\u6ca7'
              },
              {
                value: '10339',
                label: '\u695a\u96c4'
              },
              {
                value: '10340',
                label: '\u7ea2\u6cb3'
              },
              {
                value: '10341',
                label: '\u6587\u5c71'
              },
              {
                value: '10342',
                label: '\u897f\u53cc\u7248\u7eb3'
              },
              {
                value: '10343',
                label: '\u5927\u7406'
              },
              {
                value: '10344',
                label: '\u5fb7\u5b8f'
              },
              {
                value: '10345',
                label: '\u6012\u6c5f'
              },
              {
                value: '10346',
                label: '\u8fea\u5e86'
              }
            ]
          },
          {
            value: '31',
            label: '\u6d59\u6c5f',
            children: [
              {
                value: '10347',
                label: '\u676d\u5dde'
              },
              {
                value: '10348',
                label: '\u5b81\u6ce2'
              },
              {
                value: '10349',
                label: '\u6e29\u5dde'
              },
              {
                value: '10350',
                label: '\u5609\u5174'
              },
              {
                value: '10351',
                label: '\u6e56\u5dde'
              },
              {
                value: '10352',
                label: '\u7ecd\u5174'
              },
              {
                value: '10353',
                label: '\u91d1\u534e'
              },
              {
                value: '10354',
                label: '\u8862\u5dde'
              },
              {
                value: '10355',
                label: '\u821f\u5c71'
              },
              {
                value: '10356',
                label: '\u53f0\u5dde'
              },
              {
                value: '10357',
                label: '\u4e3d\u6c34'
              }
            ]
          },
          {
            value: '32',
            label: '\u53f0\u6e7e',
            children: [
              {
                value: '10358',
                label: '\u53f0\u6e7e'
              }
            ]
          },
          {
            value: '33',
            label: '\u9999\u6e2f',
            children: [
              {
                value: '10359',
                label: '\u9999\u6e2f'
              }
            ]
          },
          {
            value: '34',
            label: '\u6fb3\u95e8',
            children: [
              {
                value: '10360',
                label: '\u6fb3\u95e8'
              }
            ]
          }
        ],
        {
          defaultValue: [2, 1],
          onConfirm: result => {
            // console.log(result)
            // $('.fromVal').html(result[1].label)
            this.toCity = result[1].label
            this.toCityId = result[1].value
            this.getPolicyByCity()

            // if (toVal) {
            //   getPolicyByCity()
            // } else {
            //   getPolicyByCity()
            // }
            // this.getPolicyByCity()
            // console.log(this.fromCityId, this.toCityId)
          }
        }
      )
    },
    getPolicyByCity() {
      console.log(this.fromCityId, this.toCityId)
      this.$api.juheapi
        .getPolicy(this.fromCityId, this.toCityId)
        .then(res => {
          console.log(res)
          this.resFromPolicy.fromInfo = res.data.result.from_info.out_desc
          this.resFromPolicy.toInfo = res.data.result.from_info.high_in_desc
          this.healthCode.fromCode = res.data.result.from_info.health_code_name

          this.resToPolicy.fromInfo = res.data.result.to_info.out_desc
          this.resToPolicy.toInfo = res.data.result.to_info.high_in_desc
          this.healthCode.toCode = res.data.result.to_info.health_code_name

          this.fromLevel = res.data.result.from_info.risk_level
          this.toLevel = res.data.result.to_info.risk_level

          this.fromCodeDes = res.data.result.from_info.health_code_desc
          this.fromCodeImg = res.data.result.from_info.health_code_picture

          this.toCodeDes = res.data.result.to_info.health_code_desc
          this.toCodeImg = res.data.result.to_info.health_code_picture
        })
        .catch(err => {
          console.log(err)
        })
    },
    getCurrent() {
      this.$api.juheapi
        .getCurrentPolicy(this.fromCityId)
        .then(res => {
          console.log(res.data)
          this.resFromPolicy.fromInfo = res.data.result.from_info.out_desc
          this.resFromPolicy.toInfo = res.data.result.from_info.high_in_desc
          this.healthCode.fromCode = res.data.result.from_info.health_code_name
          this.resToPolicy.fromInfo = res.data.result.to_info.out_desc
          this.fromCity = res.data.result.from_info.city_name

          this.fromLevel = res.data.result.from_info.risk_level
        })
        .catch(err => {})
    },
    showOrganization() {
      this.$weui.picker(
        [
          {
            value: '1',
            label: '\u5b89\u5fbd',
            children: [
              {
                value: '10001',
                label: '\u5408\u80a5'
              },
              {
                value: '10002',
                label: '\u829c\u6e56'
              },
              {
                value: '10003',
                label: '\u868c\u57e0'
              },
              {
                value: '10004',
                label: '\u6dee\u5357'
              },
              {
                value: '10005',
                label: '\u9a6c\u978d\u5c71'
              },
              {
                value: '10006',
                label: '\u6dee\u5317'
              },
              {
                value: '10007',
                label: '\u94dc\u9675'
              },
              {
                value: '10008',
                label: '\u5b89\u5e86'
              },
              {
                value: '10009',
                label: '\u9ec4\u5c71'
              },
              {
                value: '10010',
                label: '\u6ec1\u5dde'
              },
              {
                value: '10011',
                label: '\u961c\u9633'
              },
              {
                value: '10012',
                label: '\u5bbf\u5dde'
              },
              {
                value: '10013',
                label: '\u516d\u5b89'
              },
              {
                value: '10014',
                label: '\u4eb3\u5dde'
              },
              {
                value: '10015',
                label: '\u6c60\u5dde'
              },
              {
                value: '10016',
                label: '\u5ba3\u57ce'
              }
            ]
          },
          {
            value: '2',
            label: '\u5317\u4eac',
            children: [
              {
                value: '10017',
                label: '\u5317\u4eac'
              }
            ]
          },
          {
            value: '3',
            label: '\u91cd\u5e86',
            children: [
              {
                value: '10018',
                label: '\u91cd\u5e86'
              }
            ]
          },
          {
            value: '4',
            label: '\u798f\u5efa',
            children: [
              {
                value: '10019',
                label: '\u798f\u5dde'
              },
              {
                value: '10020',
                label: '\u53a6\u95e8'
              },
              {
                value: '10021',
                label: '\u8386\u7530'
              },
              {
                value: '10022',
                label: '\u4e09\u660e'
              },
              {
                value: '10023',
                label: '\u6cc9\u5dde'
              },
              {
                value: '10024',
                label: '\u6f33\u5dde'
              },
              {
                value: '10025',
                label: '\u5357\u5e73'
              },
              {
                value: '10026',
                label: '\u9f99\u5ca9'
              },
              {
                value: '10027',
                label: '\u5b81\u5fb7'
              }
            ]
          },
          {
            value: '5',
            label: '\u5e7f\u4e1c',
            children: [
              {
                value: '10028',
                label: '\u5e7f\u5dde'
              },
              {
                value: '10029',
                label: '\u97f6\u5173'
              },
              {
                value: '10030',
                label: '\u6df1\u5733'
              },
              {
                value: '10031',
                label: '\u73e0\u6d77'
              },
              {
                value: '10032',
                label: '\u6c55\u5934'
              },
              {
                value: '10033',
                label: '\u4f5b\u5c71'
              },
              {
                value: '10034',
                label: '\u6c5f\u95e8'
              },
              {
                value: '10035',
                label: '\u6e5b\u6c5f'
              },
              {
                value: '10036',
                label: '\u8302\u540d'
              },
              {
                value: '10037',
                label: '\u8087\u5e86'
              },
              {
                value: '10038',
                label: '\u60e0\u5dde'
              },
              {
                value: '10039',
                label: '\u6885\u5dde'
              },
              {
                value: '10040',
                label: '\u6c55\u5c3e'
              },
              {
                value: '10041',
                label: '\u6cb3\u6e90'
              },
              {
                value: '10042',
                label: '\u9633\u6c5f'
              },
              {
                value: '10043',
                label: '\u6e05\u8fdc'
              },
              {
                value: '10044',
                label: '\u4e1c\u839e'
              },
              {
                value: '10045',
                label: '\u4e2d\u5c71'
              },
              {
                value: '10046',
                label: '\u6f6e\u5dde'
              },
              {
                value: '10047',
                label: '\u63ed\u9633'
              },
              {
                value: '10048',
                label: '\u4e91\u6d6e'
              }
            ]
          },
          {
            value: '6',
            label: '\u7518\u8083',
            children: [
              {
                value: '10049',
                label: '\u5170\u5dde'
              },
              {
                value: '10050',
                label: '\u5609\u5cea\u5173'
              },
              {
                value: '10051',
                label: '\u91d1\u660c'
              },
              {
                value: '10052',
                label: '\u767d\u94f6'
              },
              {
                value: '10053',
                label: '\u5929\u6c34'
              },
              {
                value: '10054',
                label: '\u6b66\u5a01'
              },
              {
                value: '10055',
                label: '\u5f20\u6396'
              },
              {
                value: '10056',
                label: '\u5e73\u51c9'
              },
              {
                value: '10057',
                label: '\u9152\u6cc9'
              },
              {
                value: '10058',
                label: '\u5e86\u9633'
              },
              {
                value: '10059',
                label: '\u5b9a\u897f'
              },
              {
                value: '10060',
                label: '\u9647\u5357'
              },
              {
                value: '10061',
                label: '\u4e34\u590f'
              },
              {
                value: '10062',
                label: '\u7518\u5357'
              }
            ]
          },
          {
            value: '7',
            label: '\u5e7f\u897f',
            children: [
              {
                value: '10063',
                label: '\u5357\u5b81'
              },
              {
                value: '10064',
                label: '\u67f3\u5dde'
              },
              {
                value: '10065',
                label: '\u6842\u6797'
              },
              {
                value: '10066',
                label: '\u68a7\u5dde'
              },
              {
                value: '10067',
                label: '\u5317\u6d77'
              },
              {
                value: '10068',
                label: '\u9632\u57ce\u6e2f'
              },
              {
                value: '10069',
                label: '\u94a6\u5dde'
              },
              {
                value: '10070',
                label: '\u8d35\u6e2f'
              },
              {
                value: '10071',
                label: '\u7389\u6797'
              },
              {
                value: '10072',
                label: '\u767e\u8272'
              },
              {
                value: '10073',
                label: '\u8d3a\u5dde'
              },
              {
                value: '10074',
                label: '\u6cb3\u6c60'
              },
              {
                value: '10075',
                label: '\u6765\u5bbe'
              },
              {
                value: '10076',
                label: '\u5d07\u5de6'
              }
            ]
          },
          {
            value: '8',
            label: '\u8d35\u5dde',
            children: [
              {
                value: '10077',
                label: '\u8d35\u9633'
              },
              {
                value: '10078',
                label: '\u516d\u76d8\u6c34'
              },
              {
                value: '10079',
                label: '\u9075\u4e49'
              },
              {
                value: '10080',
                label: '\u5b89\u987a'
              },
              {
                value: '10081',
                label: '\u6bd5\u8282'
              },
              {
                value: '10082',
                label: '\u94dc\u4ec1'
              },
              {
                value: '10083',
                label: '\u9ed4\u897f\u5357'
              },
              {
                value: '10084',
                label: '\u9ed4\u4e1c\u5357'
              },
              {
                value: '10085',
                label: '\u9ed4\u5357'
              }
            ]
          },
          {
            value: '9',
            label: '\u6cb3\u5317',
            children: [
              {
                value: '10086',
                label: '\u77f3\u5bb6\u5e84'
              },
              {
                value: '10087',
                label: '\u5510\u5c71'
              },
              {
                value: '10088',
                label: '\u79e6\u7687\u5c9b'
              },
              {
                value: '10089',
                label: '\u90af\u90f8'
              },
              {
                value: '10090',
                label: '\u90a2\u53f0'
              },
              {
                value: '10091',
                label: '\u4fdd\u5b9a'
              },
              {
                value: '10092',
                label: '\u5f20\u5bb6\u53e3'
              },
              {
                value: '10093',
                label: '\u627f\u5fb7'
              },
              {
                value: '10094',
                label: '\u6ca7\u5dde'
              },
              {
                value: '10095',
                label: '\u5eca\u574a'
              },
              {
                value: '10096',
                label: '\u8861\u6c34'
              }
            ]
          },
          {
            value: '10',
            label: '\u6e56\u5317',
            children: [
              {
                value: '10097',
                label: '\u6b66\u6c49'
              },
              {
                value: '10098',
                label: '\u9ec4\u77f3'
              },
              {
                value: '10099',
                label: '\u5341\u5830'
              },
              {
                value: '10100',
                label: '\u5b9c\u660c'
              },
              {
                value: '10101',
                label: '\u8944\u9633'
              },
              {
                value: '10102',
                label: '\u9102\u5dde'
              },
              {
                value: '10103',
                label: '\u8346\u95e8'
              },
              {
                value: '10104',
                label: '\u5b5d\u611f'
              },
              {
                value: '10105',
                label: '\u8346\u5dde'
              },
              {
                value: '10106',
                label: '\u9ec4\u5188'
              },
              {
                value: '10107',
                label: '\u54b8\u5b81'
              },
              {
                value: '10108',
                label: '\u968f\u5dde'
              },
              {
                value: '10109',
                label: '\u6069\u65bd'
              },
              {
                value: '10110',
                label: '\u4ed9\u6843'
              },
              {
                value: '10111',
                label: '\u6f5c\u6c5f'
              },
              {
                value: '10112',
                label: '\u5929\u95e8'
              },
              {
                value: '10113',
                label: '\u795e\u519c\u67b6'
              }
            ]
          },
          {
            value: '11',
            label: '\u9ed1\u9f99\u6c5f',
            children: [
              {
                value: '10114',
                label: '\u54c8\u5c14\u6ee8'
              },
              {
                value: '10115',
                label: '\u9f50\u9f50\u54c8\u5c14'
              },
              {
                value: '10116',
                label: '\u9e21\u897f'
              },
              {
                value: '10117',
                label: '\u9e64\u5c97'
              },
              {
                value: '10118',
                label: '\u53cc\u9e2d\u5c71'
              },
              {
                value: '10119',
                label: '\u5927\u5e86'
              },
              {
                value: '10120',
                label: '\u4f0a\u6625'
              },
              {
                value: '10121',
                label: '\u4f73\u6728\u65af'
              },
              {
                value: '10122',
                label: '\u4e03\u53f0\u6cb3'
              },
              {
                value: '10123',
                label: '\u7261\u4e39\u6c5f'
              },
              {
                value: '10124',
                label: '\u9ed1\u6cb3'
              },
              {
                value: '10125',
                label: '\u7ee5\u5316'
              },
              {
                value: '10126',
                label: '\u5927\u5174\u5b89\u5cad'
              }
            ]
          },
          {
            value: '12',
            label: '\u6d77\u5357',
            children: [
              {
                value: '10127',
                label: '\u6d77\u53e3'
              },
              {
                value: '10128',
                label: '\u4e09\u4e9a'
              },
              {
                value: '10129',
                label: '\u4e09\u6c99'
              },
              {
                value: '10130',
                label: '\u510b\u5dde'
              },
              {
                value: '10131',
                label: '\u4e94\u6307\u5c71'
              },
              {
                value: '10132',
                label: '\u743c\u6d77'
              },
              {
                value: '10133',
                label: '\u6587\u660c'
              },
              {
                value: '10134',
                label: '\u4e07\u5b81'
              },
              {
                value: '10135',
                label: '\u4e1c\u65b9'
              },
              {
                value: '10136',
                label: '\u5b9a\u5b89'
              },
              {
                value: '10137',
                label: '\u5c6f\u660c'
              },
              {
                value: '10138',
                label: '\u6f84\u8fc8'
              },
              {
                value: '10139',
                label: '\u4e34\u9ad8'
              },
              {
                value: '10140',
                label: '\u767d\u6c99'
              },
              {
                value: '10141',
                label: '\u660c\u6c5f'
              },
              {
                value: '10142',
                label: '\u4e50\u4e1c'
              },
              {
                value: '10143',
                label: '\u9675\u6c34'
              },
              {
                value: '10144',
                label: '\u4fdd\u4ead'
              },
              {
                value: '10145',
                label: '\u743c\u4e2d'
              }
            ]
          },
          {
            value: '13',
            label: '\u6cb3\u5357',
            children: [
              {
                value: '10146',
                label: '\u90d1\u5dde'
              },
              {
                value: '10147',
                label: '\u5f00\u5c01'
              },
              {
                value: '10148',
                label: '\u6d1b\u9633'
              },
              {
                value: '10149',
                label: '\u5e73\u9876\u5c71'
              },
              {
                value: '10150',
                label: '\u5b89\u9633'
              },
              {
                value: '10151',
                label: '\u9e64\u58c1'
              },
              {
                value: '10152',
                label: '\u65b0\u4e61'
              },
              {
                value: '10153',
                label: '\u7126\u4f5c'
              },
              {
                value: '10154',
                label: '\u6fee\u9633'
              },
              {
                value: '10155',
                label: '\u8bb8\u660c'
              },
              {
                value: '10156',
                label: '\u6f2f\u6cb3'
              },
              {
                value: '10157',
                label: '\u4e09\u95e8\u5ce1'
              },
              {
                value: '10158',
                label: '\u5357\u9633'
              },
              {
                value: '10159',
                label: '\u5546\u4e18'
              },
              {
                value: '10160',
                label: '\u4fe1\u9633'
              },
              {
                value: '10161',
                label: '\u5468\u53e3'
              },
              {
                value: '10162',
                label: '\u9a7b\u9a6c\u5e97'
              },
              {
                value: '10163',
                label: '\u6d4e\u6e90'
              }
            ]
          },
          {
            value: '14',
            label: '\u6e56\u5357',
            children: [
              {
                value: '10164',
                label: '\u957f\u6c99'
              },
              {
                value: '10165',
                label: '\u682a\u6d32'
              },
              {
                value: '10166',
                label: '\u6e58\u6f6d'
              },
              {
                value: '10167',
                label: '\u8861\u9633'
              },
              {
                value: '10168',
                label: '\u90b5\u9633'
              },
              {
                value: '10169',
                label: '\u5cb3\u9633'
              },
              {
                value: '10170',
                label: '\u5e38\u5fb7'
              },
              {
                value: '10171',
                label: '\u5f20\u5bb6\u754c'
              },
              {
                value: '10172',
                label: '\u76ca\u9633'
              },
              {
                value: '10173',
                label: '\u90f4\u5dde'
              },
              {
                value: '10174',
                label: '\u6c38\u5dde'
              },
              {
                value: '10175',
                label: '\u6000\u5316'
              },
              {
                value: '10176',
                label: '\u5a04\u5e95'
              },
              {
                value: '10177',
                label: '\u6e58\u897f'
              }
            ]
          },
          {
            value: '15',
            label: '\u5409\u6797',
            children: [
              {
                value: '10178',
                label: '\u957f\u6625'
              },
              {
                value: '10179',
                label: '\u5409\u6797'
              },
              {
                value: '10180',
                label: '\u56db\u5e73'
              },
              {
                value: '10181',
                label: '\u8fbd\u6e90'
              },
              {
                value: '10182',
                label: '\u901a\u5316'
              },
              {
                value: '10183',
                label: '\u767d\u5c71'
              },
              {
                value: '10184',
                label: '\u677e\u539f'
              },
              {
                value: '10185',
                label: '\u767d\u57ce'
              },
              {
                value: '10186',
                label: '\u5ef6\u8fb9'
              }
            ]
          },
          {
            value: '16',
            label: '\u6c5f\u82cf',
            children: [
              {
                value: '10187',
                label: '\u5357\u4eac'
              },
              {
                value: '10188',
                label: '\u65e0\u9521'
              },
              {
                value: '10189',
                label: '\u5f90\u5dde'
              },
              {
                value: '10190',
                label: '\u5e38\u5dde'
              },
              {
                value: '10191',
                label: '\u82cf\u5dde'
              },
              {
                value: '10192',
                label: '\u5357\u901a'
              },
              {
                value: '10193',
                label: '\u8fde\u4e91\u6e2f'
              },
              {
                value: '10194',
                label: '\u6dee\u5b89'
              },
              {
                value: '10195',
                label: '\u76d0\u57ce'
              },
              {
                value: '10196',
                label: '\u626c\u5dde'
              },
              {
                value: '10197',
                label: '\u9547\u6c5f'
              },
              {
                value: '10198',
                label: '\u6cf0\u5dde'
              },
              {
                value: '10199',
                label: '\u5bbf\u8fc1'
              }
            ]
          },
          {
            value: '17',
            label: '\u6c5f\u897f',
            children: [
              {
                value: '10200',
                label: '\u5357\u660c'
              },
              {
                value: '10201',
                label: '\u666f\u5fb7\u9547'
              },
              {
                value: '10202',
                label: '\u840d\u4e61'
              },
              {
                value: '10203',
                label: '\u4e5d\u6c5f'
              },
              {
                value: '10204',
                label: '\u65b0\u4f59'
              },
              {
                value: '10205',
                label: '\u9e70\u6f6d'
              },
              {
                value: '10206',
                label: '\u8d63\u5dde'
              },
              {
                value: '10207',
                label: '\u5409\u5b89'
              },
              {
                value: '10208',
                label: '\u5b9c\u6625'
              },
              {
                value: '10209',
                label: '\u629a\u5dde'
              },
              {
                value: '10210',
                label: '\u4e0a\u9976'
              }
            ]
          },
          {
            value: '18',
            label: '\u8fbd\u5b81',
            children: [
              {
                value: '10211',
                label: '\u6c88\u9633'
              },
              {
                value: '10212',
                label: '\u5927\u8fde'
              },
              {
                value: '10213',
                label: '\u978d\u5c71'
              },
              {
                value: '10214',
                label: '\u629a\u987a'
              },
              {
                value: '10215',
                label: '\u672c\u6eaa'
              },
              {
                value: '10216',
                label: '\u4e39\u4e1c'
              },
              {
                value: '10217',
                label: '\u9526\u5dde'
              },
              {
                value: '10218',
                label: '\u8425\u53e3'
              },
              {
                value: '10219',
                label: '\u961c\u65b0'
              },
              {
                value: '10220',
                label: '\u8fbd\u9633'
              },
              {
                value: '10221',
                label: '\u76d8\u9526'
              },
              {
                value: '10222',
                label: '\u94c1\u5cad'
              },
              {
                value: '10223',
                label: '\u671d\u9633'
              },
              {
                value: '10224',
                label: '\u846b\u82a6\u5c9b'
              }
            ]
          },
          {
            value: '19',
            label: '\u5185\u8499\u53e4',
            children: [
              {
                value: '10225',
                label: '\u547c\u548c\u6d69\u7279'
              },
              {
                value: '10226',
                label: '\u5305\u5934'
              },
              {
                value: '10227',
                label: '\u4e4c\u6d77'
              },
              {
                value: '10228',
                label: '\u8d64\u5cf0'
              },
              {
                value: '10229',
                label: '\u901a\u8fbd'
              },
              {
                value: '10230',
                label: '\u9102\u5c14\u591a\u65af'
              },
              {
                value: '10231',
                label: '\u547c\u4f26\u8d1d\u5c14'
              },
              {
                value: '10232',
                label: '\u5df4\u5f66\u6dd6\u5c14'
              },
              {
                value: '10233',
                label: '\u4e4c\u5170\u5bdf\u5e03'
              },
              {
                value: '10234',
                label: '\u5174\u5b89'
              },
              {
                value: '10235',
                label: '\u9521\u6797\u90ed\u52d2'
              },
              {
                value: '10236',
                label: '\u963f\u62c9\u5584'
              }
            ]
          },
          {
            value: '20',
            label: '\u5b81\u590f',
            children: [
              {
                value: '10237',
                label: '\u94f6\u5ddd'
              },
              {
                value: '10238',
                label: '\u77f3\u5634\u5c71'
              },
              {
                value: '10239',
                label: '\u5434\u5fe0'
              },
              {
                value: '10240',
                label: '\u56fa\u539f'
              },
              {
                value: '10241',
                label: '\u4e2d\u536b'
              }
            ]
          },
          {
            value: '21',
            label: '\u9752\u6d77',
            children: [
              {
                value: '10242',
                label: '\u897f\u5b81'
              },
              {
                value: '10243',
                label: '\u6d77\u4e1c'
              },
              {
                value: '10244',
                label: '\u6d77\u5317'
              },
              {
                value: '10245',
                label: '\u9ec4\u5357'
              },
              {
                value: '10246',
                label: '\u6d77\u5357'
              },
              {
                value: '10247',
                label: '\u679c\u6d1b'
              },
              {
                value: '10248',
                label: '\u7389\u6811'
              },
              {
                value: '10249',
                label: '\u6d77\u897f'
              }
            ]
          },
          {
            value: '22',
            label: '\u56db\u5ddd',
            children: [
              {
                value: '10250',
                label: '\u6210\u90fd'
              },
              {
                value: '10251',
                label: '\u81ea\u8d21'
              },
              {
                value: '10252',
                label: '\u6500\u679d\u82b1'
              },
              {
                value: '10253',
                label: '\u6cf8\u5dde'
              },
              {
                value: '10254',
                label: '\u5fb7\u9633'
              },
              {
                value: '10255',
                label: '\u7ef5\u9633'
              },
              {
                value: '10256',
                label: '\u5e7f\u5143'
              },
              {
                value: '10257',
                label: '\u9042\u5b81'
              },
              {
                value: '10258',
                label: '\u5185\u6c5f'
              },
              {
                value: '10259',
                label: '\u4e50\u5c71'
              },
              {
                value: '10260',
                label: '\u5357\u5145'
              },
              {
                value: '10261',
                label: '\u7709\u5c71'
              },
              {
                value: '10262',
                label: '\u5b9c\u5bbe'
              },
              {
                value: '10263',
                label: '\u5e7f\u5b89'
              },
              {
                value: '10264',
                label: '\u8fbe\u5dde'
              },
              {
                value: '10265',
                label: '\u96c5\u5b89'
              },
              {
                value: '10266',
                label: '\u5df4\u4e2d'
              },
              {
                value: '10267',
                label: '\u8d44\u9633'
              },
              {
                value: '10268',
                label: '\u963f\u575d'
              },
              {
                value: '10269',
                label: '\u7518\u5b5c'
              },
              {
                value: '10270',
                label: '\u51c9\u5c71'
              }
            ]
          },
          {
            value: '23',
            label: '\u5c71\u4e1c',
            children: [
              {
                value: '10271',
                label: '\u6d4e\u5357'
              },
              {
                value: '10272',
                label: '\u9752\u5c9b'
              },
              {
                value: '10273',
                label: '\u6dc4\u535a'
              },
              {
                value: '10274',
                label: '\u67a3\u5e84'
              },
              {
                value: '10275',
                label: '\u4e1c\u8425'
              },
              {
                value: '10276',
                label: '\u70df\u53f0'
              },
              {
                value: '10277',
                label: '\u6f4d\u574a'
              },
              {
                value: '10278',
                label: '\u6d4e\u5b81'
              },
              {
                value: '10279',
                label: '\u6cf0\u5b89'
              },
              {
                value: '10280',
                label: '\u5a01\u6d77'
              },
              {
                value: '10281',
                label: '\u65e5\u7167'
              },
              {
                value: '10282',
                label: '\u4e34\u6c82'
              },
              {
                value: '10283',
                label: '\u5fb7\u5dde'
              },
              {
                value: '10284',
                label: '\u804a\u57ce'
              },
              {
                value: '10285',
                label: '\u6ee8\u5dde'
              },
              {
                value: '10286',
                label: '\u83cf\u6cfd'
              }
            ]
          },
          {
            value: '24',
            label: '\u4e0a\u6d77',
            children: [
              {
                value: '10287',
                label: '\u4e0a\u6d77'
              }
            ]
          },
          {
            value: '25',
            label: '\u5c71\u897f',
            children: [
              {
                value: '10288',
                label: '\u592a\u539f'
              },
              {
                value: '10289',
                label: '\u5927\u540c'
              },
              {
                value: '10290',
                label: '\u9633\u6cc9'
              },
              {
                value: '10291',
                label: '\u957f\u6cbb'
              },
              {
                value: '10292',
                label: '\u664b\u57ce'
              },
              {
                value: '10293',
                label: '\u6714\u5dde'
              },
              {
                value: '10294',
                label: '\u664b\u4e2d'
              },
              {
                value: '10295',
                label: '\u8fd0\u57ce'
              },
              {
                value: '10296',
                label: '\u5ffb\u5dde'
              },
              {
                value: '10297',
                label: '\u4e34\u6c7e'
              },
              {
                value: '10298',
                label: '\u5415\u6881'
              }
            ]
          },
          {
            value: '26',
            label: '\u9655\u897f',
            children: [
              {
                value: '10299',
                label: '\u897f\u5b89'
              },
              {
                value: '10300',
                label: '\u94dc\u5ddd'
              },
              {
                value: '10301',
                label: '\u5b9d\u9e21'
              },
              {
                value: '10302',
                label: '\u54b8\u9633'
              },
              {
                value: '10303',
                label: '\u6e2d\u5357'
              },
              {
                value: '10304',
                label: '\u5ef6\u5b89'
              },
              {
                value: '10305',
                label: '\u6c49\u4e2d'
              },
              {
                value: '10306',
                label: '\u6986\u6797'
              },
              {
                value: '10307',
                label: '\u5b89\u5eb7'
              },
              {
                value: '10308',
                label: '\u5546\u6d1b'
              }
            ]
          },
          {
            value: '27',
            label: '\u5929\u6d25',
            children: [
              {
                value: '10309',
                label: '\u5929\u6d25'
              }
            ]
          },
          {
            value: '28',
            label: '\u65b0\u7586',
            children: [
              {
                value: '10310',
                label: '\u4e4c\u9c81\u6728\u9f50'
              },
              {
                value: '10311',
                label: '\u514b\u62c9\u739b\u4f9d'
              },
              {
                value: '10312',
                label: '\u5410\u9c81\u756a'
              },
              {
                value: '10313',
                label: '\u54c8\u5bc6'
              },
              {
                value: '10314',
                label: '\u660c\u5409'
              },
              {
                value: '10315',
                label: '\u535a\u5c14\u5854\u62c9'
              },
              {
                value: '10316',
                label: '\u5df4\u97f3\u90ed\u695e'
              },
              {
                value: '10317',
                label: '\u963f\u514b\u82cf'
              },
              {
                value: '10318',
                label: '\u514b\u5b5c\u52d2\u82cf'
              },
              {
                value: '10319',
                label: '\u5580\u4ec0'
              },
              {
                value: '10320',
                label: '\u548c\u7530'
              },
              {
                value: '10321',
                label: '\u4f0a\u7281'
              },
              {
                value: '10322',
                label: '\u5854\u57ce'
              },
              {
                value: '10323',
                label: '\u963f\u52d2\u6cf0'
              }
            ]
          },
          {
            value: '29',
            label: '\u897f\u85cf',
            children: [
              {
                value: '10324',
                label: '\u62c9\u8428'
              },
              {
                value: '10325',
                label: '\u65e5\u5580\u5219'
              },
              {
                value: '10326',
                label: '\u660c\u90fd'
              },
              {
                value: '10327',
                label: '\u6797\u829d'
              },
              {
                value: '10328',
                label: '\u5c71\u5357'
              },
              {
                value: '10329',
                label: '\u90a3\u66f2'
              },
              {
                value: '10330',
                label: '\u963f\u91cc'
              }
            ]
          },
          {
            value: '30',
            label: '\u4e91\u5357',
            children: [
              {
                value: '10331',
                label: '\u6606\u660e'
              },
              {
                value: '10332',
                label: '\u66f2\u9756'
              },
              {
                value: '10333',
                label: '\u7389\u6eaa'
              },
              {
                value: '10334',
                label: '\u4fdd\u5c71'
              },
              {
                value: '10335',
                label: '\u662d\u901a'
              },
              {
                value: '10336',
                label: '\u4e3d\u6c5f'
              },
              {
                value: '10337',
                label: '\u666e\u6d31'
              },
              {
                value: '10338',
                label: '\u4e34\u6ca7'
              },
              {
                value: '10339',
                label: '\u695a\u96c4'
              },
              {
                value: '10340',
                label: '\u7ea2\u6cb3'
              },
              {
                value: '10341',
                label: '\u6587\u5c71'
              },
              {
                value: '10342',
                label: '\u897f\u53cc\u7248\u7eb3'
              },
              {
                value: '10343',
                label: '\u5927\u7406'
              },
              {
                value: '10344',
                label: '\u5fb7\u5b8f'
              },
              {
                value: '10345',
                label: '\u6012\u6c5f'
              },
              {
                value: '10346',
                label: '\u8fea\u5e86'
              }
            ]
          },
          {
            value: '31',
            label: '\u6d59\u6c5f',
            children: [
              {
                value: '10347',
                label: '\u676d\u5dde'
              },
              {
                value: '10348',
                label: '\u5b81\u6ce2'
              },
              {
                value: '10349',
                label: '\u6e29\u5dde'
              },
              {
                value: '10350',
                label: '\u5609\u5174'
              },
              {
                value: '10351',
                label: '\u6e56\u5dde'
              },
              {
                value: '10352',
                label: '\u7ecd\u5174'
              },
              {
                value: '10353',
                label: '\u91d1\u534e'
              },
              {
                value: '10354',
                label: '\u8862\u5dde'
              },
              {
                value: '10355',
                label: '\u821f\u5c71'
              },
              {
                value: '10356',
                label: '\u53f0\u5dde'
              },
              {
                value: '10357',
                label: '\u4e3d\u6c34'
              }
            ]
          },
          {
            value: '32',
            label: '\u53f0\u6e7e',
            children: [
              {
                value: '10358',
                label: '\u53f0\u6e7e'
              }
            ]
          },
          {
            value: '33',
            label: '\u9999\u6e2f',
            children: [
              {
                value: '10359',
                label: '\u9999\u6e2f'
              }
            ]
          },
          {
            value: '34',
            label: '\u6fb3\u95e8',
            children: [
              {
                value: '10360',
                label: '\u6fb3\u95e8'
              }
            ]
          }
        ],
        {
          defaultValue: [2, 1],
          onConfirm: result => {
            console.log(result)
            this.orgCity = result[1].label
            this.orgId = result[1].value
            // if (result[0].label == result[1].label) {
            //   $('.city-title').html(result[0].label)
            // } else {
            //   $('.city-title').html(result[0].label + ' ' + result[1].label)
            // }
            // hsjcFn(result[1].value)
            // $('.search').val('')
            this.getOrganizationByCity()
          }
        }
      )
    },
    getOrganizationByCity() {
      this.$api.juheapi
        .getOrganization(this.orgId)
        .then(result => {
          // console.log(result.data.result.data)
          this.orgCityList = result.data.result.data
          console.log(this.orgCityList)
        })
        .catch(err => {})
    },
    fromCodeFn() {
      this.showFromCodeDialog = true
      console.log(this.fromCodeDes)
      console.log(this.fromCodeImg)
    },
    toCodeFn() {
      this.showToCodeDialog = true
      console.log(this.toCodeDes)
      console.log(this.toCodeImg)
    }
  },
  created() {
    this.getCurrent()
  },
  mounted() {
    // getFromImgUrl: () => {
    //   return '../../assets/travelimages/risk-level-' + this.fromLevel + '.png'
    // }
  }
}
</script>

<style lang="scss" scoped>
.travel-container {
  background-color: #fff;
  border-radius: 20px;
  margin: 0 10px;
  .tab-content {
    .city-select {
      width: 90%;
      height: 50px;
      border-radius: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
      margin: 10px auto;
      font-size: 15px;
      background: url('../../assets/travelimages/change.png') center no-repeat;
      background-color: #f5f5f5;
      background-size: 22px 22px;
      .city-input {
        width: 100px;
        line-height: 10px;
        height: 10px;
        text-align: center;
        position: relative;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        .city-color {
          color: #ccc;
        }
        .city-select-color {
          color: #333;
        }
        span {
          width: 10px;
          background: url('../../assets/travelimages/upicon.png') center
            no-repeat;
          background-size: contain;
          margin-left: 3px;
        }
      }
    }
    .content-main {
      flex: 1;
      padding: 10px;
      // text-align: left;
      h4 {
        text-align: left;
        margin: 10px 20px;
      }
      .city-name {
        padding-left: 20px;
        // margin-top: 10px;
        background: url('../../assets/travelimages/address.png') left 0.05rem
          no-repeat;
        background-size: 12px 17px;
        display: flex;
        justify-content: space-between;
        position: relative;
        z-index: 1;
        b {
          font-weight: 900;
          font-size: 16px;
          color: #333;
          vertical-align: bottom;
        }
        img {
          height: 20px;
          margin-left: 5px;
          vertical-align: middle;
        }
        .health-code {
          color: #333;
          background: #22ac38;
          color: #fff;
          height: 20px;
          line-height: 20px;
          font-size: 12px;
          border-radius: 12px;
          text-align: center;
          padding: 0 10px;
        }
      }
      .zhengce {
        font-size: 13px;
        line-height: 20px;
        white-space: pre-wrap;
        color: #666;
        padding-left: 5px;
        text-align: left;
      }
    }
    .city-code {
      padding-bottom: 10px;
      text-align: left;
      margin: 10px 10px;
      margin-bottom: 50px;
      p {
        font-size: 16px;
        color: #333;
        font-weight: 900;
        margin: 0 0 10px;
      }
      .code-wrap {
        height: 70px;
        line-height: 30px;
        padding: 0 15px;
        margin: 0 auto 10px;
        background: #ffffff;
        box-shadow: 0 5px 10px 0 rgba(229, 239, 255, 0.8);
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        cursor: pointer;
        div {
          color: #333;
          font-size: 16px;
          padding-left: 30px;
          font-weight: 600;
          background: url('../../assets/travelimages/code_icon.png') left 0.2rem
            center no-repeat;
          background-size: 20px 20px;
        }
        span {
          font-size: 13px;
          color: #999;
          padding-right: 10px;
          background: url('../../assets/travelimages/right-icon.png') right
            center no-repeat;
          background-size: 7px 10px;
        }
      }
    }
    .desc-footer {
      color: #bbb;
      font-size: 12px;
      padding: 10px 0 10px;
      line-height: 1.5;
      border-top: 1px solid #eee;
      margin-top: 5px;
      margin-left: 5px;
    }
    #city-search {
      height: 50px;
      width: 90%;
      margin: 10px auto;
      background: #f5f5f5;
      border-radius: 10px;
      display: flex;
      align-items: center;
      padding: 10px 10px;
      box-sizing: border-box;
      font-size: 15px;
      color: #333;
      line-height: 50px;
      overflow: hidden;
      margin-bottom: 20px;
      .city-title {
        height: 40px;
        background: url('../../assets/travelimages/upicon.png') right 30px
          center no-repeat;
        background-size: 10px 8px;
        padding-right: 50px;
        line-height: 40px;
        position: relative;
        left: 5px;
        white-space: nowrap;
        &:after {
          content: '';
          position: absolute;
          right: 10px;
          top: 10px;
          bottom: 10px;
          border-left: 1px solid #ddd;
        }
      }
      .search {
        height: 50px;
        border: 0;
        background-color: #f5f5f5;
        outline: 0;
        box-sizing: border-box;
        flex: 1;
        font-size: 15px;
        &::placeholder {
          color: #ccc;
        }
      }
    }
    #institution {
      min-height: 60px;
      position: relative;
      margin-bottom: 80px;
      &::after {
        content: '暂查询不到相关信息';
        position: absolute;
        left: 0;
        right: 0;
        top: 10px;
        z-index: 0;
        text-align: center;
        color: #999;
      }
      .list-item {
        position: relative;
        z-index: 1;
        box-shadow: 0px 5px 5px 5px rgba(229, 239, 255, 0.8);
        padding: 15px;
        border-radius: 10px;
        font-size: 13px;
        color: #666;
        // margin-bottom: 10px;
        background: #fff;
        margin: 10px 10px;
        text-align: left;
        dt {
          font-weight: bold;
          font-size: 15px;
          padding: 10px 0 10px;
          border-bottom: 1px solid #eee;
          margin-bottom: 10px;
          // line-height: 1;
        }
        dd {
          // line-height: 1.4;
          padding-bottom: 8px;
          em {
            font-style: normal;
          }
          a {
            font-weight: normal;
            color: #1b89fa;
            text-decoration: none;
          }
        }
        &:last-child {
          margin-bottom: 8px;
        }
      }
      .no-data {
        text-align: center;
        font-size: 12px;
        color: #666;
        margin-top: 10px;
      }
    }
  }
  .code-img {
    img {
      width: 200px;
      height: 200px;
    }
  }
}
</style>
